200
'1'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 08:36:15 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 33) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 13) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 259) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'1'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 08:37:54 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 33) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 13) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 259) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'1'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 08:38:58 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 33) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 13) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 259) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'1'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 08:39:06 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 33) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 13) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 259) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
curl_error
'1'

http://localhost/web/mdm-manager/public/services/

array ( 'secretkey' => 'officesecretkey_manager', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'school', 'MDM_DOMAIN' => 'officesch-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '84086c2dd50f9a269a21f4126393a6aaa680e499', 'only_out_compliance' => 0, 'iduserrequest' => '385', 'lang' => 'en', 'current_os' => 'ios', 'limbo_belongs_all_locations' => '1', 'selection_mode' => 'SELECT_SPECIFIC', ) DATE: 23/October/2019 08:42:13 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/manager/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idschool' => 'officeschool', 'deviceudid' => '84086c2dd50f9a269a21f4126393a6aaa680e499', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/manager/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/manager/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/manager/classes/MDM.php (line 3707) 4) log::dolog -> File: /Sites/web/manager/classes/MDMRequest.php (line 321) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/manager/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'1'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 08:42:56 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 33) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 13) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 259) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'1'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 08:48:54 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'1'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 08:51:21 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'1'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 08:51:54 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'1'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 08:52:23 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
curl_error
'1'

http://localhost/web/mdm-manager/public/services/

array ( 'secretkey' => 'officesecretkey_manager', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'school', 'MDM_DOMAIN' => 'officesch-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '7671fdbdd8487154df124b59dbfb5b206ff32e49', 'only_out_compliance' => 0, 'iduserrequest' => '385', 'lang' => 'en', 'current_os' => 'ios', 'limbo_belongs_all_locations' => '1', 'selection_mode' => 'SELECT_SPECIFIC', ) DATE: 23/October/2019 08:53:00 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/manager/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idschool' => 'officeschool', 'deviceudid' => '7671fdbdd8487154df124b59dbfb5b206ff32e49', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/manager/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/manager/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/manager/classes/MDM.php (line 3707) 4) log::dolog -> File: /Sites/web/manager/classes/MDMRequest.php (line 321) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/manager/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'Array ( [type] => INSTALL_APP [id] => idprofile [table] => appinstall_profiles [rel] => appinstall_device_profile [os] => Array ( [0] => ios [1] => mac [2] => tvos [3] => android ) [compliance] => 1 [supervised] => 0 [schedule] => 0 [has_selfservice] => 1 [type_name] => Install App [classname] => AppInstall )
Array ( [type] => INSTALL_BOOK [id] => idprofile [table] => bookinstall_profiles [rel] => bookinstall_device_profile [os] => Array ( [0] => ios [1] => mac [2] => android ) [compliance] => 1 [supervised] => 0 [schedule] => 0 [has_selfservice] => 1 [type_name] => Install Book [classname] => BookInstall )
Array ( [type] => APP_LIST [id] => idprofile [table] => applist_profiles [rel] => applist_device_profile [os] => Array ( [0] => ios [1] => mac [2] => android [3] => tvos ) [compliance] => 1 [supervised] => 1 [schedule] => 1 [classmanager] => 1 [type_name] => Allowed/Blocked Apps [classname] => AppList )
Array ( [type] => CERTIFICATE [id] => idprofile [table] => certificates_profiles [rel] => certificate_device_profile [os] => Array ( [0] => ios [1] => mac [2] => tvos [3] => android ) [compliance] => 1 [supervised] => 0 [schedule] => 0 [has_selfservice] => 1 [type_name] => Certificate [classname] => Certificate )
Array ( [type] => APP_LOCK [id] => idprofile [table] => applock_profiles [rel] => applock_device_profile [os] => Array ( [0] => ios [1] => mac [2] => android [3] => tvos ) [compliance] => 1 [supervised] => 1 [schedule] => 1 [classmanager] => 1 [unique] => 1 [type_name] => App Lock [classname] => Applock )
Array ( [type] => CALENDAR [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => mac ) [compliance] => 1 [supervised] => 0 [schedule] => 0 [has_selfservice] => 1 [type_name] => Calendar [classname] => Calendar )
Array ( [type] => EMAIL [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => mac ) [compliance] => 1 [supervised] => 0 [schedule] => 0 [has_selfservice] => 1 [type_name] => Mail [classname] => Email )
Array ( [type] => HOME_LAYOUT [id] => idprofile [table] => homelayout_profiles [rel] => homelayout_device_profile [os] => Array ( [0] => ios [1] => tvos ) [compliance] => 1 [supervised] => 1 [schedule] => 1 [unique] => 1 [type_name] => Home Layout [classname] => Homelayout )
Array ( [type] => RESTRICTION [id] => idprofile [table] => restrictions_profiles [rel] => restriction_device_profile [os] => Array ( [0] => ios [1] => android [2] => mac [3] => tvos ) [supervised] => 0 [compliance] => 1 [schedule] => 1 [type_name] => Restriction [classname] => Restriction )
Array ( [type] => WEBCLIP [id] => idprofile [table] => webclip_profiles [rel] => webclip_device_profile [os] => Array ( [0] => ios [1] => android [2] => mac ) [compliance] => 1 [supervised] => 0 [schedule] => 0 [type_name] => Web Clip [classname] => Webclip )
Array ( [type] => WIFI_AUTH [id] => idprofile [table] => wifi_networks [rel] => wifi_device_profile [os] => Array ( [0] => ios [1] => mac [2] => android ) [compliance] => 1 [supervised] => 0 [schedule] => 0 [type_name] => Wifi [has_selfservice] => 1 [classname] => Wifi )
Array ( [type] => PASSCODE [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => mac [2] => android ) [compliance] => 1 [supervised] => 0 [schedule] => 0 [type_name] => Passcode Policies [classname] => Passcode )
Array ( [type] => ADCERTIFICATE [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => AD Certificate [classname] => ADCertificate )
Array ( [type] => ARD [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Apple Remote Desktop [classname] => AppleRemoteDesktop )
Array ( [type] => ASSOCIATEDDOMAINS [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Associated Domains [classname] => AssociatedDomains )
Array ( [type] => EXTENSIBLESINGLESIGNONSSO [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac [1] => ios ) [compliance] => 1 [schedule] => 0 [type_name] => Extensible Single Sign On [classname] => ExtensibleSingleSignOnSSO )
Array ( [type] => SYSTEMEXTENSIONS [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => System Extensions [classname] => SystemExtensions )
Array ( [type] => FONTS [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac [1] => ios ) [compliance] => 1 [schedule] => 0 [type_name] => Fonts [classname] => Fonts )
Array ( [type] => DIRECTORY [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Directory [has_selfservice] => 1 [classname] => DirectoryMac )
Array ( [type] => DOCK [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [unique] => 1 [has_selfservice] => 1 [type_name] => Dock [classname] => Dock )
Array ( [type] => ENERGYSAVER [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Energy Saver [classname] => EnergySaver )
Array ( [type] => LOGINWINDOW [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Login Window [classname] => LoginWindow )
Array ( [type] => PARENTALMAC [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Parental Control [classname] => ParentalMac )
Array ( [type] => PRINTER [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Printer [has_selfservice] => 1 [classname] => Printer )
Array ( [type] => FINDER [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Finder [classname] => Finder )
Array ( [type] => SECURITY [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Security [classname] => Security )
Array ( [type] => PRIVACY [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Privacy [classname] => Privacy )
Array ( [type] => WALLPAPER [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => android ) [supervised] => 1 [compliance] => 0 [schedule] => 0 [unique] => 1 [type_name] => Wallpaper [classname] => Wallpaper )
Array ( [type] => WEB_FILTER [id] => idprofile [table] => webfilter_profiles [rel] => webfilter_device_profile [os] => Array ( [0] => ios [1] => mac [2] => android [3] => tvos ) [compliance] => 1 [supervised] => 1 [schedule] => 1 [classmanager] => 1 [type_name] => Web Filter [classname] => WebFilter )
Array ( [type] => SOFTWAREUPDATE [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Software Update [classname] => SoftwareUpdate )
Array ( [type] => TIMEMACHINE [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Time Machine [classname] => TimeMachine )
Array ( [type] => PROXIES [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Proxies [classname] => Proxies )
Array ( [type] => CUSTOMSETTINGS [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Custom Settings [classname] => CustomSettings )
Array ( [type] => ACCESSIBILITY [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Accessibility [classname] => Accessibility )
Array ( [type] => MACLOCALUSER [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 0 [schedule] => 0 [type_name] => Mac Local User [classname] => MacLocalUser )
Array ( [type] => MOBILITY [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Mobility [classname] => Mobility )
Array ( [type] => IDENTIFICATION [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Identification [classname] => Identification )
Array ( [type] => CUSTOMCOMMAND [id] => idprofile [table] => customcommand_profiles [rel] => customcommand_device_profile [os] => Array ( [0] => mac ) [compliance] => 0 [schedule] => 0 [has_selfservice] => 1 [type_name] => Custom Command [classname] => CustomCommand )
Array ( [type] => LOCK_WIFI [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios ) [compliance] => 1 [schedule] => 1 [type_name] => Lock Wifi [classname] => LockWifi )
Array ( [type] => CONFERENCE [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => tvos ) [compliance] => 1 [schedule] => 1 [type_name] => Conference Room Display [classname] => Conference )
Array ( [type] => AIRPLAY [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => mac ) [compliance] => 1 [supervised] => 0 [schedule] => 0 [type_name] => AirPlay [classname] => AirPlay )
Array ( [type] => AIRPLAYSECURITY [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => tvos ) [compliance] => 1 [supervised] => 1 [schedule] => 0 [type_name] => AirPlays Security [classname] => AirPlaySecurity )
Array ( [type] => QUICKCOMMAND [id] => idprofile [table] => quickcommands [rel] => quickcommand_device_profile [os] => Array ( [0] => ios [1] => android ) [compliance] => 0 [supervised] => 0 [schedule] => 1 [type_name] => QuickCommand [classname] => QuickCommand )
Array ( [type] => EXCHANGE [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => mac ) [compliance] => 1 [supervised] => 0 [schedule] => 0 [type_name] => Exchange [classname] => ExchangeAccount )
Array ( [type] => VPN [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => mac ) [compliance] => 1 [supervised] => 0 [schedule] => 0 [type_name] => VPN [classname] => VPN )
Array ( [type] => SCEP [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => mac [2] => tvos ) [compliance] => 1 [supervised] => 0 [schedule] => 0 [has_selfservice] => 1 [type_name] => SCEP [classname] => SCEP )
Array ( [type] => COMBINED [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => mac [2] => tvos ) [compliance] => 1 [supervised] => 0 [schedule] => 0 [has_selfservice] => 1 [type_name] => Multi-Cert WiFi [classname] => CombinedProfile )
Array ( [type] => FIRMWAREPASSWORD [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 0 [schedule] => 0 [type_name] => Firmware Password [classname] => FirmwarePassword )
Array ( [type] => DNSPROXY [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios ) [compliance] => 1 [supervised] => 0 [schedule] => 0 [type_name] => DNS Proxy [classname] => DNSProxy )
Array ( [type] => EXTENSIONS [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Extensions [classname] => Extensions )
Array ( [type] => AIRPRINT [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => AirPrint [classname] => AirPrint )
Array ( [type] => CHROME_WHITELIST [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Chrome Extension [classname] => ExtensionList )
Array ( [type] => CHROME_BLACKLIST [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Chrome Extension [classname] => ExtensionList )
Array ( [type] => CHROME_INSTALL [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Chrome Extension [classname] => ExtensionList )
Array ( [type] => CHROME_PROXY [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [unique] => 1 [type_name] => Chrome Proxy [classname] => ChromeProxy )
Array ( [type] => CHROME_SETTINGS [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [unique] => 1 [type_name] => Chrome Settings [classname] => ChromeSettings )
Array ( [type] => TVREMOTE [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => tvos [1] => ios ) [compliance] => 1 [schedule] => 0 [type_name] => TV Remote [classname] => TvRemote )
Array ( [type] => CONTENTCACHING [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Content Caching [classname] => ContentCaching )
Array ( [type] => AUTONOMOUSSINGLEAPP [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac [1] => ios ) [compliance] => 1 [schedule] => 0 [type_name] => Autonomous Single App Mode [classname] => AutonomousSingleApp )
Array ( [type] => SOFTWAREDELAY [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => mac [2] => tvos ) [compliance] => 1 [schedule] => 0 [type_name] => Software Delay [classname] => SoftwareDelay )
Array ( [type] => YOUTUBE_FILTER [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => chrome [1] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Youtube Filter [classname] => YoutubeFilter )
Array ( [type] => SCREEN_TIME [id] => idprofile [table] => screentime_profiles [rel] => screentime_device_profile [os] => Array ( [0] => ios [1] => android ) [compliance] => 0 [schedule] => 0 [type_name] => Screen Time [classname] => ScreenGuideTime )
Array ( [type] => KERNEL_EXTENSION [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Kernel Extension [classname] => KernelExtension )
Array ( [type] => SMARTCARD [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Smart Card [classname] => SmartCard )
Array ( [type] => SYSTEM_MIGRATION [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => System Migration [classname] => SystemMigration )
Array ( [type] => ENTERPRISE_CONNECT [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Enterprise Connect [classname] => EnterpriseConnect )
Array ( [type] => LOGIN_ITEMS [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Login Items [classname] => LoginItems )
Array ( [type] => NOMAD [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => NoMAD [classname] => Nomad )
Array ( [type] => SINGLESIGNON [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios ) [compliance] => 1 [schedule] => 0 [type_name] => Single Sign-On [classname] => SingleSignOn )
Array ( [type] => DOMAINS [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios ) [compliance] => 1 [schedule] => 0 [type_name] => Domains [classname] => Domains )
Array ( [type] => LDAP [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => LDAP [classname] => LDAP )
Array ( [type] => CONTACTS [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Contacts [classname] => Contacts )
Array ( [type] => NETWORK [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Network [classname] => Network )
Array ( [type] => TIMESERVER [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Time Server [classname] => TimeServer )
Array ( [type] => GOOGLEACCOUNT [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios ) [compliance] => 1 [schedule] => 0 [type_name] => Google Account [classname] => GoogleAccount )
Array ( [type] => DEVICEAUTH [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => mac ) [compliance] => 1 [schedule] => 0 [type_name] => Device Authentication [classname] => DeviceAuthentication )
Array ( [type] => KIOSKMODE [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => mac ) [compliance] => 1 [schedule] => 1 [type_name] => Kiosk Mode [classname] => KioskMode )
Array ( [type] => NETWORK_USAGE [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios ) [compliance] => 1 [schedule] => 0 [type_name] => Network Usage Rules [classname] => NetworkUsage )
Array ( [type] => CERT_TRANSP [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => mac [2] => tvos ) [compliance] => 1 [schedule] => 0 [type_name] => Certificate Transparency [classname] => CertificateTransparency )
Array ( [type] => MCX_PROFILE [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 0 [schedule] => 0 [type_name] => MCX Profile [classname] => MCXDefault )
Array ( [type] => MOSYLE_LOGIN [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => mac ) [compliance] => 1 [schedule] => 1 [type_name] => Mosyle Auth [classname] => MosyleLogin )
Array ( [type] => APPLE_SHARED_ROSTER [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios ) [supervised] => 1 [compliance] => 1 [schedule] => 0 [type_name] => Class Roster on Lock Screen [classname] => AppleSharedRoster )
Array ( [type] => RENAMEDEVICES [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => mac [2] => tvos ) [supervised] => 1 [compliance] => 0 [schedule] => 0 [unique] => 1 [type_name] => Rename Devices [classname] => RenameDevices )
Array ( [type] => CELLULAR [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => android ) [supervised] => 1 [compliance] => 0 [schedule] => 0 [unique] => 1 [type_name] => Cellular [classname] => Cellular )
Array ( [type] => CELLULAR_APN [id] => idprofile [table] => generic_profiles [rel] => generic_device_profile [os] => Array ( [0] => ios [1] => android ) [supervised] => 0 [compliance] => 1 [schedule] => 0 [unique] => 1 [type_name] => Cellular APN [classname] => CellularAPN )
[2-WARNING] Cannot modify header information - headers already sent by (output started at /Sites/web/mdm/classes/ComplianceReport.php:1675) - Line 138 in /Sites/web/mdm/classes/Util.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:09:24 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_BOOK
    [id] => idprofile
    [table] => bookinstall_profiles
    [rel] => bookinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install Book
    [classname] => BookInstall
)
Array
(
    [type] => APP_LIST
    [id] => idprofile
    [table] => applist_profiles
    [rel] => applist_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
            [3] => tvos
        )

    [compliance] => 1
    [supervised] => 1
    [schedule] => 1
    [classmanager] => 1
    [type_name] => Allowed/Blocked Apps
    [classname] => AppList
)
Array
(
    [type] => CERTIFICATE
    [id] => idprofile
    [table] => certificates_profiles
    [rel] => certificate_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Certificate
    [classname] => Certificate
)
Array
(
    [type] => APP_LOCK
    [id] => idprofile
    [table] => applock_profiles
    [rel] => applock_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
            [3] => tvos
        )

    [compliance] => 1
    [supervised] => 1
    [schedule] => 1
    [classmanager] => 1
    [unique] => 1
    [type_name] => App Lock
    [classname] => Applock
)
Array
(
    [type] => CALENDAR
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Calendar
    [classname] => Calendar
)
Array
(
    [type] => EMAIL
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Mail
    [classname] => Email
)
Array
(
    [type] => HOME_LAYOUT
    [id] => idprofile
    [table] => homelayout_profiles
    [rel] => homelayout_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => tvos
        )

    [compliance] => 1
    [supervised] => 1
    [schedule] => 1
    [unique] => 1
    [type_name] => Home Layout
    [classname] => Homelayout
)
Array
(
    [type] => RESTRICTION
    [id] => idprofile
    [table] => restrictions_profiles
    [rel] => restriction_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
            [2] => mac
            [3] => tvos
        )

    [supervised] => 0
    [compliance] => 1
    [schedule] => 1
    [type_name] => Restriction
    [classname] => Restriction
)
Array
(
    [type] => WEBCLIP
    [id] => idprofile
    [table] => webclip_profiles
    [rel] => webclip_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
            [2] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => Web Clip
    [classname] => Webclip
)
Array
(
    [type] => WIFI_AUTH
    [id] => idprofile
    [table] => wifi_networks
    [rel] => wifi_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => Wifi
    [has_selfservice] => 1
    [classname] => Wifi
)
Array
(
    [type] => PASSCODE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => Passcode Policies
    [classname] => Passcode
)
Array
(
    [type] => ADCERTIFICATE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => AD Certificate
    [classname] => ADCertificate
)
Array
(
    [type] => ARD
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Apple Remote Desktop
    [classname] => AppleRemoteDesktop
)
Array
(
    [type] => ASSOCIATEDDOMAINS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Associated Domains
    [classname] => AssociatedDomains
)
Array
(
    [type] => EXTENSIBLESINGLESIGNONSSO
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
            [1] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Extensible Single Sign On
    [classname] => ExtensibleSingleSignOnSSO
)
Array
(
    [type] => SYSTEMEXTENSIONS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => System Extensions
    [classname] => SystemExtensions
)
Array
(
    [type] => FONTS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
            [1] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Fonts
    [classname] => Fonts
)
Array
(
    [type] => DIRECTORY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Directory
    [has_selfservice] => 1
    [classname] => DirectoryMac
)
Array
(
    [type] => DOCK
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [unique] => 1
    [has_selfservice] => 1
    [type_name] => Dock
    [classname] => Dock
)
Array
(
    [type] => ENERGYSAVER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Energy Saver
    [classname] => EnergySaver
)
Array
(
    [type] => LOGINWINDOW
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Login Window
    [classname] => LoginWindow
)
Array
(
    [type] => PARENTALMAC
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Parental Control
    [classname] => ParentalMac
)
Array
(
    [type] => PRINTER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Printer
    [has_selfservice] => 1
    [classname] => Printer
)
Array
(
    [type] => FINDER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Finder
    [classname] => Finder
)
Array
(
    [type] => SECURITY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Security
    [classname] => Security
)
Array
(
    [type] => PRIVACY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Privacy
    [classname] => Privacy
)
Array
(
    [type] => WALLPAPER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
        )

    [supervised] => 1
    [compliance] => 0
    [schedule] => 0
    [unique] => 1
    [type_name] => Wallpaper
    [classname] => Wallpaper
)
Array
(
    [type] => WEB_FILTER
    [id] => idprofile
    [table] => webfilter_profiles
    [rel] => webfilter_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
            [3] => tvos
        )

    [compliance] => 1
    [supervised] => 1
    [schedule] => 1
    [classmanager] => 1
    [type_name] => Web Filter
    [classname] => WebFilter
)
Array
(
    [type] => SOFTWAREUPDATE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Software Update
    [classname] => SoftwareUpdate
)
Array
(
    [type] => TIMEMACHINE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Time Machine
    [classname] => TimeMachine
)
Array
(
    [type] => PROXIES
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Proxies
    [classname] => Proxies
)
Array
(
    [type] => CUSTOMSETTINGS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Custom Settings
    [classname] => CustomSettings
)
Array
(
    [type] => ACCESSIBILITY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Accessibility
    [classname] => Accessibility
)
Array
(
    [type] => MACLOCALUSER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 0
    [schedule] => 0
    [type_name] => Mac Local User
    [classname] => MacLocalUser
)
Array
(
    [type] => MOBILITY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Mobility
    [classname] => Mobility
)
Array
(
    [type] => IDENTIFICATION
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Identification
    [classname] => Identification
)
Array
(
    [type] => CUSTOMCOMMAND
    [id] => idprofile
    [table] => customcommand_profiles
    [rel] => customcommand_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Custom Command
    [classname] => CustomCommand
)
Array
(
    [type] => LOCK_WIFI
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [schedule] => 1
    [type_name] => Lock Wifi
    [classname] => LockWifi
)
Array
(
    [type] => CONFERENCE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => tvos
        )

    [compliance] => 1
    [schedule] => 1
    [type_name] => Conference Room Display
    [classname] => Conference
)
Array
(
    [type] => AIRPLAY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => AirPlay
    [classname] => AirPlay
)
Array
(
    [type] => AIRPLAYSECURITY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => tvos
        )

    [compliance] => 1
    [supervised] => 1
    [schedule] => 0
    [type_name] => AirPlays Security
    [classname] => AirPlaySecurity
)
Array
(
    [type] => QUICKCOMMAND
    [id] => idprofile
    [table] => quickcommands
    [rel] => quickcommand_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
        )

    [compliance] => 0
    [supervised] => 0
    [schedule] => 1
    [type_name] => QuickCommand
    [classname] => QuickCommand
)
Array
(
    [type] => EXCHANGE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => Exchange
    [classname] => ExchangeAccount
)
Array
(
    [type] => VPN
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => VPN
    [classname] => VPN
)
Array
(
    [type] => SCEP
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => SCEP
    [classname] => SCEP
)
Array
(
    [type] => COMBINED
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Multi-Cert WiFi
    [classname] => CombinedProfile
)
Array
(
    [type] => FIRMWAREPASSWORD
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 0
    [schedule] => 0
    [type_name] => Firmware Password
    [classname] => FirmwarePassword
)
Array
(
    [type] => DNSPROXY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => DNS Proxy
    [classname] => DNSProxy
)
Array
(
    [type] => EXTENSIONS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Extensions
    [classname] => Extensions
)
Array
(
    [type] => AIRPRINT
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => AirPrint
    [classname] => AirPrint
)
Array
(
    [type] => CHROME_WHITELIST
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Chrome Extension
    [classname] => ExtensionList
)
Array
(
    [type] => CHROME_BLACKLIST
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Chrome Extension
    [classname] => ExtensionList
)
Array
(
    [type] => CHROME_INSTALL
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Chrome Extension
    [classname] => ExtensionList
)
Array
(
    [type] => CHROME_PROXY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [unique] => 1
    [type_name] => Chrome Proxy
    [classname] => ChromeProxy
)
Array
(
    [type] => CHROME_SETTINGS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [unique] => 1
    [type_name] => Chrome Settings
    [classname] => ChromeSettings
)
Array
(
    [type] => TVREMOTE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => tvos
            [1] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => TV Remote
    [classname] => TvRemote
)
Array
(
    [type] => CONTENTCACHING
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Content Caching
    [classname] => ContentCaching
)
Array
(
    [type] => AUTONOMOUSSINGLEAPP
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
            [1] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Autonomous Single App Mode
    [classname] => AutonomousSingleApp
)
Array
(
    [type] => SOFTWAREDELAY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Software Delay
    [classname] => SoftwareDelay
)
Array
(
    [type] => YOUTUBE_FILTER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => chrome
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Youtube Filter
    [classname] => YoutubeFilter
)
Array
(
    [type] => SCREEN_TIME
    [id] => idprofile
    [table] => screentime_profiles
    [rel] => screentime_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
        )

    [compliance] => 0
    [schedule] => 0
    [type_name] => Screen Time
    [classname] => ScreenGuideTime
)
Array
(
    [type] => KERNEL_EXTENSION
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Kernel Extension
    [classname] => KernelExtension
)
Array
(
    [type] => SMARTCARD
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Smart Card
    [classname] => SmartCard
)
Array
(
    [type] => SYSTEM_MIGRATION
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => System Migration
    [classname] => SystemMigration
)
Array
(
    [type] => ENTERPRISE_CONNECT
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Enterprise Connect
    [classname] => EnterpriseConnect
)
Array
(
    [type] => LOGIN_ITEMS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Login Items
    [classname] => LoginItems
)
Array
(
    [type] => NOMAD
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => NoMAD
    [classname] => Nomad
)
Array
(
    [type] => SINGLESIGNON
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Single Sign-On
    [classname] => SingleSignOn
)
Array
(
    [type] => DOMAINS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Domains
    [classname] => Domains
)
Array
(
    [type] => LDAP
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => LDAP
    [classname] => LDAP
)
Array
(
    [type] => CONTACTS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Contacts
    [classname] => Contacts
)
Array
(
    [type] => NETWORK
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Network
    [classname] => Network
)
Array
(
    [type] => TIMESERVER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Time Server
    [classname] => TimeServer
)
Array
(
    [type] => GOOGLEACCOUNT
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Google Account
    [classname] => GoogleAccount
)
Array
(
    [type] => DEVICEAUTH
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Device Authentication
    [classname] => DeviceAuthentication
)
Array
(
    [type] => KIOSKMODE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 1
    [type_name] => Kiosk Mode
    [classname] => KioskMode
)
Array
(
    [type] => NETWORK_USAGE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Network Usage Rules
    [classname] => NetworkUsage
)
Array
(
    [type] => CERT_TRANSP
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Certificate Transparency
    [classname] => CertificateTransparency
)
Array
(
    [type] => MCX_PROFILE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 0
    [schedule] => 0
    [type_name] => MCX Profile
    [classname] => MCXDefault
)
Array
(
    [type] => MOSYLE_LOGIN
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 1
    [type_name] => Mosyle Auth
    [classname] => MosyleLogin
)
Array
(
    [type] => APPLE_SHARED_ROSTER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [supervised] => 1
    [compliance] => 1
    [schedule] => 0
    [type_name] => Class Roster on Lock Screen
    [classname] => AppleSharedRoster
)
Array
(
    [type] => RENAMEDEVICES
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
        )

    [supervised] => 1
    [compliance] => 0
    [schedule] => 0
    [unique] => 1
    [type_name] => Rename Devices
    [classname] => RenameDevices
)
Array
(
    [type] => CELLULAR
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
        )

    [supervised] => 1
    [compliance] => 0
    [schedule] => 0
    [unique] => 1
    [type_name] => Cellular
    [classname] => Cellular
)
Array
(
    [type] => CELLULAR_APN
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
        )

    [supervised] => 0
    [compliance] => 1
    [schedule] => 0
    [unique] => 1
    [type_name] => Cellular APN
    [classname] => CellularAPN
)
[2-WARNING] Cannot modify header information - headers already sent by (output started at /Sites/web/mdm/classes/ComplianceReport.php:1676) - Line 138 in /Sites/web/mdm/classes/Util.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:10:36 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_BOOK
    [id] => idprofile
    [table] => bookinstall_profiles
    [rel] => bookinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install Book
    [classname] => BookInstall
)
Array
(
    [type] => APP_LIST
    [id] => idprofile
    [table] => applist_profiles
    [rel] => applist_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
            [3] => tvos
        )

    [compliance] => 1
    [supervised] => 1
    [schedule] => 1
    [classmanager] => 1
    [type_name] => Allowed/Blocked Apps
    [classname] => AppList
)
Array
(
    [type] => CERTIFICATE
    [id] => idprofile
    [table] => certificates_profiles
    [rel] => certificate_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Certificate
    [classname] => Certificate
)
Array
(
    [type] => APP_LOCK
    [id] => idprofile
    [table] => applock_profiles
    [rel] => applock_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
            [3] => tvos
        )

    [compliance] => 1
    [supervised] => 1
    [schedule] => 1
    [classmanager] => 1
    [unique] => 1
    [type_name] => App Lock
    [classname] => Applock
)
Array
(
    [type] => CALENDAR
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Calendar
    [classname] => Calendar
)
Array
(
    [type] => EMAIL
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Mail
    [classname] => Email
)
Array
(
    [type] => HOME_LAYOUT
    [id] => idprofile
    [table] => homelayout_profiles
    [rel] => homelayout_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => tvos
        )

    [compliance] => 1
    [supervised] => 1
    [schedule] => 1
    [unique] => 1
    [type_name] => Home Layout
    [classname] => Homelayout
)
Array
(
    [type] => RESTRICTION
    [id] => idprofile
    [table] => restrictions_profiles
    [rel] => restriction_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
            [2] => mac
            [3] => tvos
        )

    [supervised] => 0
    [compliance] => 1
    [schedule] => 1
    [type_name] => Restriction
    [classname] => Restriction
)
Array
(
    [type] => WEBCLIP
    [id] => idprofile
    [table] => webclip_profiles
    [rel] => webclip_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
            [2] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => Web Clip
    [classname] => Webclip
)
Array
(
    [type] => WIFI_AUTH
    [id] => idprofile
    [table] => wifi_networks
    [rel] => wifi_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => Wifi
    [has_selfservice] => 1
    [classname] => Wifi
)
Array
(
    [type] => PASSCODE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => Passcode Policies
    [classname] => Passcode
)
Array
(
    [type] => ADCERTIFICATE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => AD Certificate
    [classname] => ADCertificate
)
Array
(
    [type] => ARD
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Apple Remote Desktop
    [classname] => AppleRemoteDesktop
)
Array
(
    [type] => ASSOCIATEDDOMAINS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Associated Domains
    [classname] => AssociatedDomains
)
Array
(
    [type] => EXTENSIBLESINGLESIGNONSSO
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
            [1] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Extensible Single Sign On
    [classname] => ExtensibleSingleSignOnSSO
)
Array
(
    [type] => SYSTEMEXTENSIONS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => System Extensions
    [classname] => SystemExtensions
)
Array
(
    [type] => FONTS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
            [1] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Fonts
    [classname] => Fonts
)
Array
(
    [type] => DIRECTORY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Directory
    [has_selfservice] => 1
    [classname] => DirectoryMac
)
Array
(
    [type] => DOCK
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [unique] => 1
    [has_selfservice] => 1
    [type_name] => Dock
    [classname] => Dock
)
Array
(
    [type] => ENERGYSAVER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Energy Saver
    [classname] => EnergySaver
)
Array
(
    [type] => LOGINWINDOW
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Login Window
    [classname] => LoginWindow
)
Array
(
    [type] => PARENTALMAC
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Parental Control
    [classname] => ParentalMac
)
Array
(
    [type] => PRINTER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Printer
    [has_selfservice] => 1
    [classname] => Printer
)
Array
(
    [type] => FINDER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Finder
    [classname] => Finder
)
Array
(
    [type] => SECURITY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Security
    [classname] => Security
)
Array
(
    [type] => PRIVACY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Privacy
    [classname] => Privacy
)
Array
(
    [type] => WALLPAPER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
        )

    [supervised] => 1
    [compliance] => 0
    [schedule] => 0
    [unique] => 1
    [type_name] => Wallpaper
    [classname] => Wallpaper
)
Array
(
    [type] => WEB_FILTER
    [id] => idprofile
    [table] => webfilter_profiles
    [rel] => webfilter_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
            [3] => tvos
        )

    [compliance] => 1
    [supervised] => 1
    [schedule] => 1
    [classmanager] => 1
    [type_name] => Web Filter
    [classname] => WebFilter
)
Array
(
    [type] => SOFTWAREUPDATE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Software Update
    [classname] => SoftwareUpdate
)
Array
(
    [type] => TIMEMACHINE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Time Machine
    [classname] => TimeMachine
)
Array
(
    [type] => PROXIES
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Proxies
    [classname] => Proxies
)
Array
(
    [type] => CUSTOMSETTINGS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Custom Settings
    [classname] => CustomSettings
)
Array
(
    [type] => ACCESSIBILITY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Accessibility
    [classname] => Accessibility
)
Array
(
    [type] => MACLOCALUSER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 0
    [schedule] => 0
    [type_name] => Mac Local User
    [classname] => MacLocalUser
)
Array
(
    [type] => MOBILITY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Mobility
    [classname] => Mobility
)
Array
(
    [type] => IDENTIFICATION
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Identification
    [classname] => Identification
)
Array
(
    [type] => CUSTOMCOMMAND
    [id] => idprofile
    [table] => customcommand_profiles
    [rel] => customcommand_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Custom Command
    [classname] => CustomCommand
)
Array
(
    [type] => LOCK_WIFI
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [schedule] => 1
    [type_name] => Lock Wifi
    [classname] => LockWifi
)
Array
(
    [type] => CONFERENCE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => tvos
        )

    [compliance] => 1
    [schedule] => 1
    [type_name] => Conference Room Display
    [classname] => Conference
)
Array
(
    [type] => AIRPLAY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => AirPlay
    [classname] => AirPlay
)
Array
(
    [type] => AIRPLAYSECURITY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => tvos
        )

    [compliance] => 1
    [supervised] => 1
    [schedule] => 0
    [type_name] => AirPlays Security
    [classname] => AirPlaySecurity
)
Array
(
    [type] => QUICKCOMMAND
    [id] => idprofile
    [table] => quickcommands
    [rel] => quickcommand_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
        )

    [compliance] => 0
    [supervised] => 0
    [schedule] => 1
    [type_name] => QuickCommand
    [classname] => QuickCommand
)
Array
(
    [type] => EXCHANGE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => Exchange
    [classname] => ExchangeAccount
)
Array
(
    [type] => VPN
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => VPN
    [classname] => VPN
)
Array
(
    [type] => SCEP
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => SCEP
    [classname] => SCEP
)
Array
(
    [type] => COMBINED
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Multi-Cert WiFi
    [classname] => CombinedProfile
)
Array
(
    [type] => FIRMWAREPASSWORD
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 0
    [schedule] => 0
    [type_name] => Firmware Password
    [classname] => FirmwarePassword
)
Array
(
    [type] => DNSPROXY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => DNS Proxy
    [classname] => DNSProxy
)
Array
(
    [type] => EXTENSIONS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Extensions
    [classname] => Extensions
)
Array
(
    [type] => AIRPRINT
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => AirPrint
    [classname] => AirPrint
)
Array
(
    [type] => CHROME_WHITELIST
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Chrome Extension
    [classname] => ExtensionList
)
Array
(
    [type] => CHROME_BLACKLIST
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Chrome Extension
    [classname] => ExtensionList
)
Array
(
    [type] => CHROME_INSTALL
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Chrome Extension
    [classname] => ExtensionList
)
Array
(
    [type] => CHROME_PROXY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [unique] => 1
    [type_name] => Chrome Proxy
    [classname] => ChromeProxy
)
Array
(
    [type] => CHROME_SETTINGS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [unique] => 1
    [type_name] => Chrome Settings
    [classname] => ChromeSettings
)
Array
(
    [type] => TVREMOTE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => tvos
            [1] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => TV Remote
    [classname] => TvRemote
)
Array
(
    [type] => CONTENTCACHING
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Content Caching
    [classname] => ContentCaching
)
Array
(
    [type] => AUTONOMOUSSINGLEAPP
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
            [1] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Autonomous Single App Mode
    [classname] => AutonomousSingleApp
)
Array
(
    [type] => SOFTWAREDELAY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Software Delay
    [classname] => SoftwareDelay
)
Array
(
    [type] => YOUTUBE_FILTER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => chrome
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Youtube Filter
    [classname] => YoutubeFilter
)
Array
(
    [type] => SCREEN_TIME
    [id] => idprofile
    [table] => screentime_profiles
    [rel] => screentime_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
        )

    [compliance] => 0
    [schedule] => 0
    [type_name] => Screen Time
    [classname] => ScreenGuideTime
)
Array
(
    [type] => KERNEL_EXTENSION
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Kernel Extension
    [classname] => KernelExtension
)
Array
(
    [type] => SMARTCARD
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Smart Card
    [classname] => SmartCard
)
Array
(
    [type] => SYSTEM_MIGRATION
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => System Migration
    [classname] => SystemMigration
)
Array
(
    [type] => ENTERPRISE_CONNECT
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Enterprise Connect
    [classname] => EnterpriseConnect
)
Array
(
    [type] => LOGIN_ITEMS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Login Items
    [classname] => LoginItems
)
Array
(
    [type] => NOMAD
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => NoMAD
    [classname] => Nomad
)
Array
(
    [type] => SINGLESIGNON
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Single Sign-On
    [classname] => SingleSignOn
)
Array
(
    [type] => DOMAINS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Domains
    [classname] => Domains
)
Array
(
    [type] => LDAP
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => LDAP
    [classname] => LDAP
)
Array
(
    [type] => CONTACTS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Contacts
    [classname] => Contacts
)
Array
(
    [type] => NETWORK
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Network
    [classname] => Network
)
Array
(
    [type] => TIMESERVER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Time Server
    [classname] => TimeServer
)
Array
(
    [type] => GOOGLEACCOUNT
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Google Account
    [classname] => GoogleAccount
)
Array
(
    [type] => DEVICEAUTH
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Device Authentication
    [classname] => DeviceAuthentication
)
Array
(
    [type] => KIOSKMODE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 1
    [type_name] => Kiosk Mode
    [classname] => KioskMode
)
Array
(
    [type] => NETWORK_USAGE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Network Usage Rules
    [classname] => NetworkUsage
)
Array
(
    [type] => CERT_TRANSP
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Certificate Transparency
    [classname] => CertificateTransparency
)
Array
(
    [type] => MCX_PROFILE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 0
    [schedule] => 0
    [type_name] => MCX Profile
    [classname] => MCXDefault
)
Array
(
    [type] => MOSYLE_LOGIN
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 1
    [type_name] => Mosyle Auth
    [classname] => MosyleLogin
)
Array
(
    [type] => APPLE_SHARED_ROSTER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [supervised] => 1
    [compliance] => 1
    [schedule] => 0
    [type_name] => Class Roster on Lock Screen
    [classname] => AppleSharedRoster
)
Array
(
    [type] => RENAMEDEVICES
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
        )

    [supervised] => 1
    [compliance] => 0
    [schedule] => 0
    [unique] => 1
    [type_name] => Rename Devices
    [classname] => RenameDevices
)
Array
(
    [type] => CELLULAR
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
        )

    [supervised] => 1
    [compliance] => 0
    [schedule] => 0
    [unique] => 1
    [type_name] => Cellular
    [classname] => Cellular
)
Array
(
    [type] => CELLULAR_APN
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
        )

    [supervised] => 0
    [compliance] => 1
    [schedule] => 0
    [unique] => 1
    [type_name] => Cellular APN
    [classname] => CellularAPN
)
[2-WARNING] Cannot modify header information - headers already sent by (output started at /Sites/web/mdm/classes/ComplianceReport.php:1676) - Line 138 in /Sites/web/mdm/classes/Util.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:11:16 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_BOOK
    [id] => idprofile
    [table] => bookinstall_profiles
    [rel] => bookinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install Book
    [classname] => BookInstall
)
Array
(
    [type] => APP_LIST
    [id] => idprofile
    [table] => applist_profiles
    [rel] => applist_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
            [3] => tvos
        )

    [compliance] => 1
    [supervised] => 1
    [schedule] => 1
    [classmanager] => 1
    [type_name] => Allowed/Blocked Apps
    [classname] => AppList
)
Array
(
    [type] => CERTIFICATE
    [id] => idprofile
    [table] => certificates_profiles
    [rel] => certificate_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Certificate
    [classname] => Certificate
)
Array
(
    [type] => APP_LOCK
    [id] => idprofile
    [table] => applock_profiles
    [rel] => applock_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
            [3] => tvos
        )

    [compliance] => 1
    [supervised] => 1
    [schedule] => 1
    [classmanager] => 1
    [unique] => 1
    [type_name] => App Lock
    [classname] => Applock
)
Array
(
    [type] => CALENDAR
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Calendar
    [classname] => Calendar
)
Array
(
    [type] => EMAIL
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Mail
    [classname] => Email
)
Array
(
    [type] => HOME_LAYOUT
    [id] => idprofile
    [table] => homelayout_profiles
    [rel] => homelayout_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => tvos
        )

    [compliance] => 1
    [supervised] => 1
    [schedule] => 1
    [unique] => 1
    [type_name] => Home Layout
    [classname] => Homelayout
)
Array
(
    [type] => RESTRICTION
    [id] => idprofile
    [table] => restrictions_profiles
    [rel] => restriction_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
            [2] => mac
            [3] => tvos
        )

    [supervised] => 0
    [compliance] => 1
    [schedule] => 1
    [type_name] => Restriction
    [classname] => Restriction
)
Array
(
    [type] => WEBCLIP
    [id] => idprofile
    [table] => webclip_profiles
    [rel] => webclip_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
            [2] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => Web Clip
    [classname] => Webclip
)
Array
(
    [type] => WIFI_AUTH
    [id] => idprofile
    [table] => wifi_networks
    [rel] => wifi_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => Wifi
    [has_selfservice] => 1
    [classname] => Wifi
)
Array
(
    [type] => PASSCODE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => Passcode Policies
    [classname] => Passcode
)
Array
(
    [type] => ADCERTIFICATE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => AD Certificate
    [classname] => ADCertificate
)
Array
(
    [type] => ARD
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Apple Remote Desktop
    [classname] => AppleRemoteDesktop
)
Array
(
    [type] => ASSOCIATEDDOMAINS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Associated Domains
    [classname] => AssociatedDomains
)
Array
(
    [type] => EXTENSIBLESINGLESIGNONSSO
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
            [1] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Extensible Single Sign On
    [classname] => ExtensibleSingleSignOnSSO
)
Array
(
    [type] => SYSTEMEXTENSIONS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => System Extensions
    [classname] => SystemExtensions
)
Array
(
    [type] => FONTS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
            [1] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Fonts
    [classname] => Fonts
)
Array
(
    [type] => DIRECTORY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Directory
    [has_selfservice] => 1
    [classname] => DirectoryMac
)
Array
(
    [type] => DOCK
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [unique] => 1
    [has_selfservice] => 1
    [type_name] => Dock
    [classname] => Dock
)
Array
(
    [type] => ENERGYSAVER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Energy Saver
    [classname] => EnergySaver
)
Array
(
    [type] => LOGINWINDOW
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Login Window
    [classname] => LoginWindow
)
Array
(
    [type] => PARENTALMAC
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Parental Control
    [classname] => ParentalMac
)
Array
(
    [type] => PRINTER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Printer
    [has_selfservice] => 1
    [classname] => Printer
)
Array
(
    [type] => FINDER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Finder
    [classname] => Finder
)
Array
(
    [type] => SECURITY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Security
    [classname] => Security
)
Array
(
    [type] => PRIVACY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Privacy
    [classname] => Privacy
)
Array
(
    [type] => WALLPAPER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
        )

    [supervised] => 1
    [compliance] => 0
    [schedule] => 0
    [unique] => 1
    [type_name] => Wallpaper
    [classname] => Wallpaper
)
Array
(
    [type] => WEB_FILTER
    [id] => idprofile
    [table] => webfilter_profiles
    [rel] => webfilter_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => android
            [3] => tvos
        )

    [compliance] => 1
    [supervised] => 1
    [schedule] => 1
    [classmanager] => 1
    [type_name] => Web Filter
    [classname] => WebFilter
)
Array
(
    [type] => SOFTWAREUPDATE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Software Update
    [classname] => SoftwareUpdate
)
Array
(
    [type] => TIMEMACHINE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Time Machine
    [classname] => TimeMachine
)
Array
(
    [type] => PROXIES
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Proxies
    [classname] => Proxies
)
Array
(
    [type] => CUSTOMSETTINGS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Custom Settings
    [classname] => CustomSettings
)
Array
(
    [type] => ACCESSIBILITY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Accessibility
    [classname] => Accessibility
)
Array
(
    [type] => MACLOCALUSER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 0
    [schedule] => 0
    [type_name] => Mac Local User
    [classname] => MacLocalUser
)
Array
(
    [type] => MOBILITY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Mobility
    [classname] => Mobility
)
Array
(
    [type] => IDENTIFICATION
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Identification
    [classname] => Identification
)
Array
(
    [type] => CUSTOMCOMMAND
    [id] => idprofile
    [table] => customcommand_profiles
    [rel] => customcommand_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Custom Command
    [classname] => CustomCommand
)
Array
(
    [type] => LOCK_WIFI
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [schedule] => 1
    [type_name] => Lock Wifi
    [classname] => LockWifi
)
Array
(
    [type] => CONFERENCE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => tvos
        )

    [compliance] => 1
    [schedule] => 1
    [type_name] => Conference Room Display
    [classname] => Conference
)
Array
(
    [type] => AIRPLAY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => AirPlay
    [classname] => AirPlay
)
Array
(
    [type] => AIRPLAYSECURITY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => tvos
        )

    [compliance] => 1
    [supervised] => 1
    [schedule] => 0
    [type_name] => AirPlays Security
    [classname] => AirPlaySecurity
)
Array
(
    [type] => QUICKCOMMAND
    [id] => idprofile
    [table] => quickcommands
    [rel] => quickcommand_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
        )

    [compliance] => 0
    [supervised] => 0
    [schedule] => 1
    [type_name] => QuickCommand
    [classname] => QuickCommand
)
Array
(
    [type] => EXCHANGE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => Exchange
    [classname] => ExchangeAccount
)
Array
(
    [type] => VPN
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => VPN
    [classname] => VPN
)
Array
(
    [type] => SCEP
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => SCEP
    [classname] => SCEP
)
Array
(
    [type] => COMBINED
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Multi-Cert WiFi
    [classname] => CombinedProfile
)
Array
(
    [type] => FIRMWAREPASSWORD
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 0
    [schedule] => 0
    [type_name] => Firmware Password
    [classname] => FirmwarePassword
)
Array
(
    [type] => DNSPROXY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [type_name] => DNS Proxy
    [classname] => DNSProxy
)
Array
(
    [type] => EXTENSIONS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Extensions
    [classname] => Extensions
)
Array
(
    [type] => AIRPRINT
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => AirPrint
    [classname] => AirPrint
)
Array
(
    [type] => CHROME_WHITELIST
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Chrome Extension
    [classname] => ExtensionList
)
Array
(
    [type] => CHROME_BLACKLIST
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Chrome Extension
    [classname] => ExtensionList
)
Array
(
    [type] => CHROME_INSTALL
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Chrome Extension
    [classname] => ExtensionList
)
Array
(
    [type] => CHROME_PROXY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [unique] => 1
    [type_name] => Chrome Proxy
    [classname] => ChromeProxy
)
Array
(
    [type] => CHROME_SETTINGS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [unique] => 1
    [type_name] => Chrome Settings
    [classname] => ChromeSettings
)
Array
(
    [type] => TVREMOTE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => tvos
            [1] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => TV Remote
    [classname] => TvRemote
)
Array
(
    [type] => CONTENTCACHING
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Content Caching
    [classname] => ContentCaching
)
Array
(
    [type] => AUTONOMOUSSINGLEAPP
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
            [1] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Autonomous Single App Mode
    [classname] => AutonomousSingleApp
)
Array
(
    [type] => SOFTWAREDELAY
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Software Delay
    [classname] => SoftwareDelay
)
Array
(
    [type] => YOUTUBE_FILTER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => chrome
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Youtube Filter
    [classname] => YoutubeFilter
)
Array
(
    [type] => SCREEN_TIME
    [id] => idprofile
    [table] => screentime_profiles
    [rel] => screentime_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
        )

    [compliance] => 0
    [schedule] => 0
    [type_name] => Screen Time
    [classname] => ScreenGuideTime
)
Array
(
    [type] => KERNEL_EXTENSION
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Kernel Extension
    [classname] => KernelExtension
)
Array
(
    [type] => SMARTCARD
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Smart Card
    [classname] => SmartCard
)
Array
(
    [type] => SYSTEM_MIGRATION
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => System Migration
    [classname] => SystemMigration
)
Array
(
    [type] => ENTERPRISE_CONNECT
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Enterprise Connect
    [classname] => EnterpriseConnect
)
Array
(
    [type] => LOGIN_ITEMS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Login Items
    [classname] => LoginItems
)
Array
(
    [type] => NOMAD
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => NoMAD
    [classname] => Nomad
)
Array
(
    [type] => SINGLESIGNON
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Single Sign-On
    [classname] => SingleSignOn
)
Array
(
    [type] => DOMAINS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Domains
    [classname] => Domains
)
Array
(
    [type] => LDAP
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => LDAP
    [classname] => LDAP
)
Array
(
    [type] => CONTACTS
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Contacts
    [classname] => Contacts
)
Array
(
    [type] => NETWORK
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Network
    [classname] => Network
)
Array
(
    [type] => TIMESERVER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Time Server
    [classname] => TimeServer
)
Array
(
    [type] => GOOGLEACCOUNT
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Google Account
    [classname] => GoogleAccount
)
Array
(
    [type] => DEVICEAUTH
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Device Authentication
    [classname] => DeviceAuthentication
)
Array
(
    [type] => KIOSKMODE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
        )

    [compliance] => 1
    [schedule] => 1
    [type_name] => Kiosk Mode
    [classname] => KioskMode
)
Array
(
    [type] => NETWORK_USAGE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Network Usage Rules
    [classname] => NetworkUsage
)
Array
(
    [type] => CERT_TRANSP
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
        )

    [compliance] => 1
    [schedule] => 0
    [type_name] => Certificate Transparency
    [classname] => CertificateTransparency
)
Array
(
    [type] => MCX_PROFILE
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 0
    [schedule] => 0
    [type_name] => MCX Profile
    [classname] => MCXDefault
)
Array
(
    [type] => MOSYLE_LOGIN
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => mac
        )

    [compliance] => 1
    [schedule] => 1
    [type_name] => Mosyle Auth
    [classname] => MosyleLogin
)
Array
(
    [type] => APPLE_SHARED_ROSTER
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
        )

    [supervised] => 1
    [compliance] => 1
    [schedule] => 0
    [type_name] => Class Roster on Lock Screen
    [classname] => AppleSharedRoster
)
Array
(
    [type] => RENAMEDEVICES
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
        )

    [supervised] => 1
    [compliance] => 0
    [schedule] => 0
    [unique] => 1
    [type_name] => Rename Devices
    [classname] => RenameDevices
)
Array
(
    [type] => CELLULAR
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
        )

    [supervised] => 1
    [compliance] => 0
    [schedule] => 0
    [unique] => 1
    [type_name] => Cellular
    [classname] => Cellular
)
Array
(
    [type] => CELLULAR_APN
    [id] => idprofile
    [table] => generic_profiles
    [rel] => generic_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => android
        )

    [supervised] => 0
    [compliance] => 1
    [schedule] => 0
    [unique] => 1
    [type_name] => Cellular APN
    [classname] => CellularAPN
)
[2-WARNING] Cannot modify header information - headers already sent by (output started at /Sites/web/mdm/classes/ComplianceReport.php:1676) - Line 138 in /Sites/web/mdm/classes/Util.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:20:15 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'
Array
(
    [0] => Array
        (
            [type] => INSTALL_APP
            [id] => idprofile
            [table] => appinstall_profiles
            [rel] => appinstall_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                    [2] => tvos
                    [3] => android
                )

            [compliance] => 1
            [supervised] => 0
            [schedule] => 0
            [has_selfservice] => 1
            [type_name] => Install App
            [classname] => AppInstall
        )

    [1] => Array
        (
            [type] => INSTALL_BOOK
            [id] => idprofile
            [table] => bookinstall_profiles
            [rel] => bookinstall_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                    [2] => android
                )

            [compliance] => 1
            [supervised] => 0
            [schedule] => 0
            [has_selfservice] => 1
            [type_name] => Install Book
            [classname] => BookInstall
        )

    [2] => Array
        (
            [type] => APP_LIST
            [id] => idprofile
            [table] => applist_profiles
            [rel] => applist_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                    [2] => android
                    [3] => tvos
                )

            [compliance] => 1
            [supervised] => 1
            [schedule] => 1
            [classmanager] => 1
            [type_name] => Allowed/Blocked Apps
            [classname] => AppList
        )

    [3] => Array
        (
            [type] => CERTIFICATE
            [id] => idprofile
            [table] => certificates_profiles
            [rel] => certificate_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                    [2] => tvos
                    [3] => android
                )

            [compliance] => 1
            [supervised] => 0
            [schedule] => 0
            [has_selfservice] => 1
            [type_name] => Certificate
            [classname] => Certificate
        )

    [4] => Array
        (
            [type] => APP_LOCK
            [id] => idprofile
            [table] => applock_profiles
            [rel] => applock_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                    [2] => android
                    [3] => tvos
                )

            [compliance] => 1
            [supervised] => 1
            [schedule] => 1
            [classmanager] => 1
            [unique] => 1
            [type_name] => App Lock
            [classname] => Applock
        )

    [5] => Array
        (
            [type] => CALENDAR
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                )

            [compliance] => 1
            [supervised] => 0
            [schedule] => 0
            [has_selfservice] => 1
            [type_name] => Calendar
            [classname] => Calendar
        )

    [6] => Array
        (
            [type] => EMAIL
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                )

            [compliance] => 1
            [supervised] => 0
            [schedule] => 0
            [has_selfservice] => 1
            [type_name] => Mail
            [classname] => Email
        )

    [7] => Array
        (
            [type] => HOME_LAYOUT
            [id] => idprofile
            [table] => homelayout_profiles
            [rel] => homelayout_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => tvos
                )

            [compliance] => 1
            [supervised] => 1
            [schedule] => 1
            [unique] => 1
            [type_name] => Home Layout
            [classname] => Homelayout
        )

    [8] => Array
        (
            [type] => RESTRICTION
            [id] => idprofile
            [table] => restrictions_profiles
            [rel] => restriction_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => android
                    [2] => mac
                    [3] => tvos
                )

            [supervised] => 0
            [compliance] => 1
            [schedule] => 1
            [type_name] => Restriction
            [classname] => Restriction
        )

    [9] => Array
        (
            [type] => WEBCLIP
            [id] => idprofile
            [table] => webclip_profiles
            [rel] => webclip_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => android
                    [2] => mac
                )

            [compliance] => 1
            [supervised] => 0
            [schedule] => 0
            [type_name] => Web Clip
            [classname] => Webclip
        )

    [10] => Array
        (
            [type] => WIFI_AUTH
            [id] => idprofile
            [table] => wifi_networks
            [rel] => wifi_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                    [2] => android
                )

            [compliance] => 1
            [supervised] => 0
            [schedule] => 0
            [type_name] => Wifi
            [has_selfservice] => 1
            [classname] => Wifi
        )

    [11] => Array
        (
            [type] => PASSCODE
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                    [2] => android
                )

            [compliance] => 1
            [supervised] => 0
            [schedule] => 0
            [type_name] => Passcode Policies
            [classname] => Passcode
        )

    [12] => Array
        (
            [type] => ADCERTIFICATE
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => AD Certificate
            [classname] => ADCertificate
        )

    [13] => Array
        (
            [type] => ARD
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Apple Remote Desktop
            [classname] => AppleRemoteDesktop
        )

    [14] => Array
        (
            [type] => ASSOCIATEDDOMAINS
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Associated Domains
            [classname] => AssociatedDomains
        )

    [15] => Array
        (
            [type] => EXTENSIBLESINGLESIGNONSSO
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                    [1] => ios
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Extensible Single Sign On
            [classname] => ExtensibleSingleSignOnSSO
        )

    [16] => Array
        (
            [type] => SYSTEMEXTENSIONS
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => System Extensions
            [classname] => SystemExtensions
        )

    [17] => Array
        (
            [type] => FONTS
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                    [1] => ios
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Fonts
            [classname] => Fonts
        )

    [18] => Array
        (
            [type] => DIRECTORY
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Directory
            [has_selfservice] => 1
            [classname] => DirectoryMac
        )

    [19] => Array
        (
            [type] => DOCK
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [unique] => 1
            [has_selfservice] => 1
            [type_name] => Dock
            [classname] => Dock
        )

    [20] => Array
        (
            [type] => ENERGYSAVER
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Energy Saver
            [classname] => EnergySaver
        )

    [21] => Array
        (
            [type] => LOGINWINDOW
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Login Window
            [classname] => LoginWindow
        )

    [22] => Array
        (
            [type] => PARENTALMAC
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Parental Control
            [classname] => ParentalMac
        )

    [23] => Array
        (
            [type] => PRINTER
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Printer
            [has_selfservice] => 1
            [classname] => Printer
        )

    [24] => Array
        (
            [type] => FINDER
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Finder
            [classname] => Finder
        )

    [25] => Array
        (
            [type] => SECURITY
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Security
            [classname] => Security
        )

    [26] => Array
        (
            [type] => PRIVACY
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Privacy
            [classname] => Privacy
        )

    [27] => Array
        (
            [type] => WALLPAPER
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => android
                )

            [supervised] => 1
            [compliance] => 0
            [schedule] => 0
            [unique] => 1
            [type_name] => Wallpaper
            [classname] => Wallpaper
        )

    [28] => Array
        (
            [type] => WEB_FILTER
            [id] => idprofile
            [table] => webfilter_profiles
            [rel] => webfilter_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                    [2] => android
                    [3] => tvos
                )

            [compliance] => 1
            [supervised] => 1
            [schedule] => 1
            [classmanager] => 1
            [type_name] => Web Filter
            [classname] => WebFilter
        )

    [29] => Array
        (
            [type] => SOFTWAREUPDATE
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Software Update
            [classname] => SoftwareUpdate
        )

    [30] => Array
        (
            [type] => TIMEMACHINE
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Time Machine
            [classname] => TimeMachine
        )

    [31] => Array
        (
            [type] => PROXIES
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Proxies
            [classname] => Proxies
        )

    [32] => Array
        (
            [type] => CUSTOMSETTINGS
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Custom Settings
            [classname] => CustomSettings
        )

    [33] => Array
        (
            [type] => ACCESSIBILITY
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Accessibility
            [classname] => Accessibility
        )

    [34] => Array
        (
            [type] => MACLOCALUSER
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 0
            [schedule] => 0
            [type_name] => Mac Local User
            [classname] => MacLocalUser
        )

    [35] => Array
        (
            [type] => MOBILITY
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Mobility
            [classname] => Mobility
        )

    [36] => Array
        (
            [type] => IDENTIFICATION
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Identification
            [classname] => Identification
        )

    [37] => Array
        (
            [type] => CUSTOMCOMMAND
            [id] => idprofile
            [table] => customcommand_profiles
            [rel] => customcommand_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 0
            [schedule] => 0
            [has_selfservice] => 1
            [type_name] => Custom Command
            [classname] => CustomCommand
        )

    [38] => Array
        (
            [type] => LOCK_WIFI
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                )

            [compliance] => 1
            [schedule] => 1
            [type_name] => Lock Wifi
            [classname] => LockWifi
        )

    [39] => Array
        (
            [type] => CONFERENCE
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => tvos
                )

            [compliance] => 1
            [schedule] => 1
            [type_name] => Conference Room Display
            [classname] => Conference
        )

    [40] => Array
        (
            [type] => AIRPLAY
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                )

            [compliance] => 1
            [supervised] => 0
            [schedule] => 0
            [type_name] => AirPlay
            [classname] => AirPlay
        )

    [41] => Array
        (
            [type] => AIRPLAYSECURITY
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => tvos
                )

            [compliance] => 1
            [supervised] => 1
            [schedule] => 0
            [type_name] => AirPlays Security
            [classname] => AirPlaySecurity
        )

    [42] => Array
        (
            [type] => QUICKCOMMAND
            [id] => idprofile
            [table] => quickcommands
            [rel] => quickcommand_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => android
                )

            [compliance] => 0
            [supervised] => 0
            [schedule] => 1
            [type_name] => QuickCommand
            [classname] => QuickCommand
        )

    [43] => Array
        (
            [type] => EXCHANGE
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                )

            [compliance] => 1
            [supervised] => 0
            [schedule] => 0
            [type_name] => Exchange
            [classname] => ExchangeAccount
        )

    [44] => Array
        (
            [type] => VPN
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                )

            [compliance] => 1
            [supervised] => 0
            [schedule] => 0
            [type_name] => VPN
            [classname] => VPN
        )

    [45] => Array
        (
            [type] => SCEP
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                    [2] => tvos
                )

            [compliance] => 1
            [supervised] => 0
            [schedule] => 0
            [has_selfservice] => 1
            [type_name] => SCEP
            [classname] => SCEP
        )

    [46] => Array
        (
            [type] => COMBINED
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                    [2] => tvos
                )

            [compliance] => 1
            [supervised] => 0
            [schedule] => 0
            [has_selfservice] => 1
            [type_name] => Multi-Cert WiFi
            [classname] => CombinedProfile
        )

    [47] => Array
        (
            [type] => FIRMWAREPASSWORD
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 0
            [schedule] => 0
            [type_name] => Firmware Password
            [classname] => FirmwarePassword
        )

    [48] => Array
        (
            [type] => DNSPROXY
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                )

            [compliance] => 1
            [supervised] => 0
            [schedule] => 0
            [type_name] => DNS Proxy
            [classname] => DNSProxy
        )

    [49] => Array
        (
            [type] => EXTENSIONS
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Extensions
            [classname] => Extensions
        )

    [50] => Array
        (
            [type] => AIRPRINT
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => AirPrint
            [classname] => AirPrint
        )

    [51] => Array
        (
            [type] => CHROME_WHITELIST
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Chrome Extension
            [classname] => ExtensionList
        )

    [52] => Array
        (
            [type] => CHROME_BLACKLIST
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Chrome Extension
            [classname] => ExtensionList
        )

    [53] => Array
        (
            [type] => CHROME_INSTALL
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Chrome Extension
            [classname] => ExtensionList
        )

    [54] => Array
        (
            [type] => CHROME_PROXY
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [unique] => 1
            [type_name] => Chrome Proxy
            [classname] => ChromeProxy
        )

    [55] => Array
        (
            [type] => CHROME_SETTINGS
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [unique] => 1
            [type_name] => Chrome Settings
            [classname] => ChromeSettings
        )

    [56] => Array
        (
            [type] => TVREMOTE
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => tvos
                    [1] => ios
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => TV Remote
            [classname] => TvRemote
        )

    [57] => Array
        (
            [type] => CONTENTCACHING
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Content Caching
            [classname] => ContentCaching
        )

    [58] => Array
        (
            [type] => AUTONOMOUSSINGLEAPP
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                    [1] => ios
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Autonomous Single App Mode
            [classname] => AutonomousSingleApp
        )

    [59] => Array
        (
            [type] => SOFTWAREDELAY
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                    [2] => tvos
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Software Delay
            [classname] => SoftwareDelay
        )

    [60] => Array
        (
            [type] => YOUTUBE_FILTER
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => chrome
                    [1] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Youtube Filter
            [classname] => YoutubeFilter
        )

    [61] => Array
        (
            [type] => SCREEN_TIME
            [id] => idprofile
            [table] => screentime_profiles
            [rel] => screentime_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => android
                )

            [compliance] => 0
            [schedule] => 0
            [type_name] => Screen Time
            [classname] => ScreenGuideTime
        )

    [62] => Array
        (
            [type] => KERNEL_EXTENSION
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Kernel Extension
            [classname] => KernelExtension
        )

    [63] => Array
        (
            [type] => SMARTCARD
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Smart Card
            [classname] => SmartCard
        )

    [64] => Array
        (
            [type] => SYSTEM_MIGRATION
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => System Migration
            [classname] => SystemMigration
        )

    [65] => Array
        (
            [type] => ENTERPRISE_CONNECT
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Enterprise Connect
            [classname] => EnterpriseConnect
        )

    [66] => Array
        (
            [type] => LOGIN_ITEMS
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Login Items
            [classname] => LoginItems
        )

    [67] => Array
        (
            [type] => NOMAD
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => NoMAD
            [classname] => Nomad
        )

    [68] => Array
        (
            [type] => SINGLESIGNON
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Single Sign-On
            [classname] => SingleSignOn
        )

    [69] => Array
        (
            [type] => DOMAINS
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Domains
            [classname] => Domains
        )

    [70] => Array
        (
            [type] => LDAP
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => LDAP
            [classname] => LDAP
        )

    [71] => Array
        (
            [type] => CONTACTS
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Contacts
            [classname] => Contacts
        )

    [72] => Array
        (
            [type] => NETWORK
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Network
            [classname] => Network
        )

    [73] => Array
        (
            [type] => TIMESERVER
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Time Server
            [classname] => TimeServer
        )

    [74] => Array
        (
            [type] => GOOGLEACCOUNT
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Google Account
            [classname] => GoogleAccount
        )

    [75] => Array
        (
            [type] => DEVICEAUTH
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Device Authentication
            [classname] => DeviceAuthentication
        )

    [76] => Array
        (
            [type] => KIOSKMODE
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                )

            [compliance] => 1
            [schedule] => 1
            [type_name] => Kiosk Mode
            [classname] => KioskMode
        )

    [77] => Array
        (
            [type] => NETWORK_USAGE
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Network Usage Rules
            [classname] => NetworkUsage
        )

    [78] => Array
        (
            [type] => CERT_TRANSP
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                    [2] => tvos
                )

            [compliance] => 1
            [schedule] => 0
            [type_name] => Certificate Transparency
            [classname] => CertificateTransparency
        )

    [79] => Array
        (
            [type] => MCX_PROFILE
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 0
            [schedule] => 0
            [type_name] => MCX Profile
            [classname] => MCXDefault
        )

    [80] => Array
        (
            [type] => MOSYLE_LOGIN
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => mac
                )

            [compliance] => 1
            [schedule] => 1
            [type_name] => Mosyle Auth
            [classname] => MosyleLogin
        )

    [81] => Array
        (
            [type] => APPLE_SHARED_ROSTER
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                )

            [supervised] => 1
            [compliance] => 1
            [schedule] => 0
            [type_name] => Class Roster on Lock Screen
            [classname] => AppleSharedRoster
        )

    [82] => Array
        (
            [type] => RENAMEDEVICES
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => mac
                    [2] => tvos
                )

            [supervised] => 1
            [compliance] => 0
            [schedule] => 0
            [unique] => 1
            [type_name] => Rename Devices
            [classname] => RenameDevices
        )

    [83] => Array
        (
            [type] => CELLULAR
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => android
                )

            [supervised] => 1
            [compliance] => 0
            [schedule] => 0
            [unique] => 1
            [type_name] => Cellular
            [classname] => Cellular
        )

    [84] => Array
        (
            [type] => CELLULAR_APN
            [id] => idprofile
            [table] => generic_profiles
            [rel] => generic_device_profile
            [os] => Array
                (
                    [0] => ios
                    [1] => android
                )

            [supervised] => 0
            [compliance] => 1
            [schedule] => 0
            [unique] => 1
            [type_name] => Cellular APN
            [classname] => CellularAPN
        )

)
[2-WARNING] Cannot modify header information - headers already sent by (output started at /Sites/web/mdm/classes/ComplianceReport.php:1675) - Line 138 in /Sites/web/mdm/classes/Util.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:21:07 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:21:37 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'
[8-NOTICE] Undefined index: type - Line 1676 in /Sites/web/mdm/classes/ComplianceReport.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:22:07 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:22:28 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
Array
(
    [type] => INSTALL_APP
    [id] => idprofile
    [table] => appinstall_profiles
    [rel] => appinstall_device_profile
    [os] => Array
        (
            [0] => ios
            [1] => mac
            [2] => tvos
            [3] => android
        )

    [compliance] => 1
    [supervised] => 0
    [schedule] => 0
    [has_selfservice] => 1
    [type_name] => Install App
    [classname] => AppInstall
)
'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:22:41 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'
[8-NOTICE] Undefined index: type - Line 1676 in /Sites/web/mdm/classes/ComplianceReport.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:23:25 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'
INSTALL_APPINSTALL_BOOKAPP_LISTCERTIFICATEAPP_LOCKCALENDAREMAILHOME_LAYOUTRESTRICTIONWEBCLIPWIFI_AUTHPASSCODEADCERTIFICATEARDASSOCIATEDDOMAINSEXTENSIBLESINGLESIGNONSSOSYSTEMEXTENSIONSFONTSDIRECTORYDOCKENERGYSAVERLOGINWINDOWPARENTALMACPRINTERFINDERSECURITYPRIVACYWALLPAPERWEB_FILTERSOFTWAREUPDATETIMEMACHINEPROXIESCUSTOMSETTINGSACCESSIBILITYMACLOCALUSERMOBILITYIDENTIFICATIONCUSTOMCOMMANDLOCK_WIFICONFERENCEAIRPLAYAIRPLAYSECURITYQUICKCOMMANDEXCHANGEVPNSCEPCOMBINEDFIRMWAREPASSWORDDNSPROXYEXTENSIONSAIRPRINTCHROME_WHITELISTCHROME_BLACKLISTCHROME_INSTALLCHROME_PROXYCHROME_SETTINGSTVREMOTECONTENTCACHINGAUTONOMOUSSINGLEAPPSOFTWAREDELAYYOUTUBE_FILTERSCREEN_TIMEKERNEL_EXTENSIONSMARTCARDSYSTEM_MIGRATIONENTERPRISE_CONNECTLOGIN_ITEMSNOMADSINGLESIGNONDOMAINSLDAPCONTACTSNETWORKTIMESERVERGOOGLEACCOUNTDEVICEAUTHKIOSKMODENETWORK_USAGECERT_TRANSPMCX_PROFILEMOSYLE_LOGINAPPLE_SHARED_ROSTERRENAMEDEVICESCELLULARCELLULAR_APN
'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:23:50 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'
INSTALL_APPINSTALL_BOOKAPP_LISTCERTIFICATEAPP_LOCKCALENDAREMAILHOME_LAYOUTRESTRICTIONWEBCLIPWIFI_AUTHPASSCODEADCERTIFICATEARDASSOCIATEDDOMAINSEXTENSIBLESINGLESIGNONSSOSYSTEMEXTENSIONSFONTSDIRECTORYDOCKENERGYSAVERLOGINWINDOWPARENTALMACPRINTERFINDERSECURITYPRIVACYWALLPAPERWEB_FILTERSOFTWAREUPDATETIMEMACHINEPROXIESCUSTOMSETTINGSACCESSIBILITYMACLOCALUSERMOBILITYIDENTIFICATIONCUSTOMCOMMANDLOCK_WIFICONFERENCEAIRPLAYAIRPLAYSECURITYQUICKCOMMANDEXCHANGEVPNSCEPCOMBINEDFIRMWAREPASSWORDDNSPROXYEXTENSIONSAIRPRINTCHROME_WHITELISTCHROME_BLACKLISTCHROME_INSTALLCHROME_PROXYCHROME_SETTINGSTVREMOTECONTENTCACHINGAUTONOMOUSSINGLEAPPSOFTWAREDELAYYOUTUBE_FILTERSCREEN_TIMEKERNEL_EXTENSIONSMARTCARDSYSTEM_MIGRATIONENTERPRISE_CONNECTLOGIN_ITEMSNOMADSINGLESIGNONDOMAINSLDAPCONTACTSNETWORKTIMESERVERGOOGLEACCOUNTDEVICEAUTHKIOSKMODENETWORK_USAGECERT_TRANSPMCX_PROFILEMOSYLE_LOGINAPPLE_SHARED_ROSTERRENAMEDEVICESCELLULARCELLULAR_APN
'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:24:06 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'
INSTALL_APP
INSTALL_BOOK
APP_LIST
CERTIFICATE
APP_LOCK
CALENDAR
EMAIL
HOME_LAYOUT
RESTRICTION
WEBCLIP
WIFI_AUTH
PASSCODE
ADCERTIFICATE
ARD
ASSOCIATEDDOMAINS
EXTENSIBLESINGLESIGNONSSO
SYSTEMEXTENSIONS
FONTS
DIRECTORY
DOCK
ENERGYSAVER
LOGINWINDOW
PARENTALMAC
PRINTER
FINDER
SECURITY
PRIVACY
WALLPAPER
WEB_FILTER
SOFTWAREUPDATE
TIMEMACHINE
PROXIES
CUSTOMSETTINGS
ACCESSIBILITY
MACLOCALUSER
MOBILITY
IDENTIFICATION
CUSTOMCOMMAND
LOCK_WIFI
CONFERENCE
AIRPLAY
AIRPLAYSECURITY
QUICKCOMMAND
EXCHANGE
VPN
SCEP
COMBINED
FIRMWAREPASSWORD
DNSPROXY
EXTENSIONS
AIRPRINT
CHROME_WHITELIST
CHROME_BLACKLIST
CHROME_INSTALL
CHROME_PROXY
CHROME_SETTINGS
TVREMOTE
CONTENTCACHING
AUTONOMOUSSINGLEAPP
SOFTWAREDELAY
YOUTUBE_FILTER
SCREEN_TIME
KERNEL_EXTENSION
SMARTCARD
SYSTEM_MIGRATION
ENTERPRISE_CONNECT
LOGIN_ITEMS
NOMAD
SINGLESIGNON
DOMAINS
LDAP
CONTACTS
NETWORK
TIMESERVER
GOOGLEACCOUNT
DEVICEAUTH
KIOSKMODE
NETWORK_USAGE
CERT_TRANSP
MCX_PROFILE
MOSYLE_LOGIN
APPLE_SHARED_ROSTER
RENAMEDEVICES
CELLULAR
CELLULAR_APN
'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:24:27 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'INSTALL_APP
INSTALL_BOOK
APP_LIST
CERTIFICATE
APP_LOCK
CALENDAR
EMAIL
HOME_LAYOUT
RESTRICTION
WEBCLIP
WIFI_AUTH
PASSCODE
ADCERTIFICATE
ARD
ASSOCIATEDDOMAINS
EXTENSIBLESINGLESIGNONSSO
SYSTEMEXTENSIONS
FONTS
DIRECTORY
DOCK
ENERGYSAVER
LOGINWINDOW
PARENTALMAC
PRINTER
FINDER
SECURITY
PRIVACY
WALLPAPER
WEB_FILTER
SOFTWAREUPDATE
TIMEMACHINE
PROXIES
CUSTOMSETTINGS
ACCESSIBILITY
MACLOCALUSER
MOBILITY
IDENTIFICATION
CUSTOMCOMMAND
LOCK_WIFI
CONFERENCE
AIRPLAY
AIRPLAYSECURITY
QUICKCOMMAND
EXCHANGE
VPN
SCEP
COMBINED
FIRMWAREPASSWORD
DNSPROXY
EXTENSIONS
AIRPRINT
CHROME_WHITELIST
CHROME_BLACKLIST
CHROME_INSTALL
CHROME_PROXY
CHROME_SETTINGS
TVREMOTE
CONTENTCACHING
AUTONOMOUSSINGLEAPP
SOFTWAREDELAY
YOUTUBE_FILTER
SCREEN_TIME
KERNEL_EXTENSION
SMARTCARD
SYSTEM_MIGRATION
ENTERPRISE_CONNECT
LOGIN_ITEMS
NOMAD
SINGLESIGNON
DOMAINS
LDAP
CONTACTS
NETWORK
TIMESERVER
GOOGLEACCOUNT
DEVICEAUTH
KIOSKMODE
NETWORK_USAGE
CERT_TRANSP
MCX_PROFILE
MOSYLE_LOGIN
APPLE_SHARED_ROSTER
RENAMEDEVICES
CELLULAR
CELLULAR_APN
'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:24:52 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'INSTALL_APP
INSTALL_BOOK
APP_LIST
CERTIFICATE
APP_LOCK
CALENDAR
EMAIL
HOME_LAYOUT
RESTRICTION
WEBCLIP
WIFI_AUTH
PASSCODE
ADCERTIFICATE
ARD
ASSOCIATEDDOMAINS
EXTENSIBLESINGLESIGNONSSO
SYSTEMEXTENSIONS
FONTS
DIRECTORY
DOCK
ENERGYSAVER
LOGINWINDOW
PARENTALMAC
PRINTER
FINDER
SECURITY
PRIVACY
WALLPAPER
WEB_FILTER
SOFTWAREUPDATE
TIMEMACHINE
PROXIES
CUSTOMSETTINGS
ACCESSIBILITY
MACLOCALUSER
MOBILITY
IDENTIFICATION
CUSTOMCOMMAND
LOCK_WIFI
CONFERENCE
AIRPLAY
AIRPLAYSECURITY
QUICKCOMMAND
EXCHANGE
VPN
SCEP
COMBINED
FIRMWAREPASSWORD
DNSPROXY
EXTENSIONS
AIRPRINT
CHROME_WHITELIST
CHROME_BLACKLIST
CHROME_INSTALL
CHROME_PROXY
CHROME_SETTINGS
TVREMOTE
CONTENTCACHING
AUTONOMOUSSINGLEAPP
SOFTWAREDELAY
YOUTUBE_FILTER
SCREEN_TIME
KERNEL_EXTENSION
SMARTCARD
SYSTEM_MIGRATION
ENTERPRISE_CONNECT
LOGIN_ITEMS
NOMAD
SINGLESIGNON
DOMAINS
LDAP
CONTACTS
NETWORK
TIMESERVER
GOOGLEACCOUNT
DEVICEAUTH
KIOSKMODE
NETWORK_USAGE
CERT_TRANSP
MCX_PROFILE
MOSYLE_LOGIN
APPLE_SHARED_ROSTER
RENAMEDEVICES
CELLULAR
CELLULAR_APN
'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:25:25 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'INSTALL_APP INSTALL_BOOK APP_LIST CERTIFICATE APP_LOCK CALENDAR EMAIL HOME_LAYOUT RESTRICTION WEBCLIP WIFI_AUTH PASSCODE ADCERTIFICATE ARD ASSOCIATEDDOMAINS EXTENSIBLESINGLESIGNONSSO SYSTEMEXTENSIONS FONTS DIRECTORY DOCK ENERGYSAVER LOGINWINDOW PARENTALMAC PRINTER FINDER SECURITY PRIVACY WALLPAPER WEB_FILTER SOFTWAREUPDATE TIMEMACHINE PROXIES CUSTOMSETTINGS ACCESSIBILITY MACLOCALUSER MOBILITY IDENTIFICATION CUSTOMCOMMAND LOCK_WIFI CONFERENCE AIRPLAY AIRPLAYSECURITY QUICKCOMMAND EXCHANGE VPN SCEP COMBINED FIRMWAREPASSWORD DNSPROXY EXTENSIONS AIRPRINT CHROME_WHITELIST CHROME_BLACKLIST CHROME_INSTALL CHROME_PROXY CHROME_SETTINGS TVREMOTE CONTENTCACHING AUTONOMOUSSINGLEAPP SOFTWAREDELAY YOUTUBE_FILTER SCREEN_TIME KERNEL_EXTENSION SMARTCARD SYSTEM_MIGRATION ENTERPRISE_CONNECT LOGIN_ITEMS NOMAD SINGLESIGNON DOMAINS LDAP CONTACTS NETWORK TIMESERVER GOOGLEACCOUNT DEVICEAUTH KIOSKMODE NETWORK_USAGE CERT_TRANSP MCX_PROFILE MOSYLE_LOGIN APPLE_SHARED_ROSTER RENAMEDEVICES CELLULAR CELLULAR_APN '

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:25:34 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'
INSTALL_APP
INSTALL_BOOK
APP_LIST
CERTIFICATE
APP_LOCK
CALENDAR
EMAIL
HOME_LAYOUT
RESTRICTION
WEBCLIP
WIFI_AUTH
PASSCODE
ADCERTIFICATE
ARD
ASSOCIATEDDOMAINS
EXTENSIBLESINGLESIGNONSSO
SYSTEMEXTENSIONS
FONTS
DIRECTORY
DOCK
ENERGYSAVER
LOGINWINDOW
PARENTALMAC
PRINTER
FINDER
SECURITY
PRIVACY
WALLPAPER
WEB_FILTER
SOFTWAREUPDATE
TIMEMACHINE
PROXIES
CUSTOMSETTINGS
ACCESSIBILITY
MACLOCALUSER
MOBILITY
IDENTIFICATION
CUSTOMCOMMAND
LOCK_WIFI
CONFERENCE
AIRPLAY
AIRPLAYSECURITY
QUICKCOMMAND
EXCHANGE
VPN
SCEP
COMBINED
FIRMWAREPASSWORD
DNSPROXY
EXTENSIONS
AIRPRINT
CHROME_WHITELIST
CHROME_BLACKLIST
CHROME_INSTALL
CHROME_PROXY
CHROME_SETTINGS
TVREMOTE
CONTENTCACHING
AUTONOMOUSSINGLEAPP
SOFTWAREDELAY
YOUTUBE_FILTER
SCREEN_TIME
KERNEL_EXTENSION
SMARTCARD
SYSTEM_MIGRATION
ENTERPRISE_CONNECT
LOGIN_ITEMS
NOMAD
SINGLESIGNON
DOMAINS
LDAP
CONTACTS
NETWORK
TIMESERVER
GOOGLEACCOUNT
DEVICEAUTH
KIOSKMODE
NETWORK_USAGE
CERT_TRANSP
MCX_PROFILE
MOSYLE_LOGIN
APPLE_SHARED_ROSTER
RENAMEDEVICES
CELLULAR
CELLULAR_APN
'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:28:18 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'
INSTALL_APP
INSTALL_BOOK
APP_LIST
CERTIFICATE
APP_LOCK
CALENDAR
EMAIL
HOME_LAYOUT
RESTRICTION
WEBCLIP
WIFI_AUTH
PASSCODE
ADCERTIFICATE
ARD
ASSOCIATEDDOMAINS
EXTENSIBLESINGLESIGNONSSO
SYSTEMEXTENSIONS
FONTS
DIRECTORY
DOCK
ENERGYSAVER
LOGINWINDOW
PARENTALMAC
PRINTER
FINDER
SECURITY
PRIVACY
WALLPAPER
WEB_FILTER
SOFTWAREUPDATE
TIMEMACHINE
PROXIES
CUSTOMSETTINGS
ACCESSIBILITY
MACLOCALUSER
MOBILITY
IDENTIFICATION
CUSTOMCOMMAND
LOCK_WIFI
CONFERENCE
AIRPLAY
AIRPLAYSECURITY
QUICKCOMMAND
EXCHANGE
VPN
SCEP
COMBINED
FIRMWAREPASSWORD
DNSPROXY
EXTENSIONS
AIRPRINT
CHROME_WHITELIST
CHROME_BLACKLIST
CHROME_INSTALL
CHROME_PROXY
CHROME_SETTINGS
TVREMOTE
CONTENTCACHING
AUTONOMOUSSINGLEAPP
SOFTWAREDELAY
YOUTUBE_FILTER
SCREEN_TIME
KERNEL_EXTENSION
SMARTCARD
SYSTEM_MIGRATION
ENTERPRISE_CONNECT
LOGIN_ITEMS
NOMAD
SINGLESIGNON
DOMAINS
LDAP
CONTACTS
NETWORK
TIMESERVER
GOOGLEACCOUNT
DEVICEAUTH
KIOSKMODE
NETWORK_USAGE
CERT_TRANSP
MCX_PROFILE
MOSYLE_LOGIN
APPLE_SHARED_ROSTER
RENAMEDEVICES
CELLULAR
CELLULAR_APN
'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:29:43 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'
INSTALL_APP
INSTALL_BOOK
APP_LIST
CERTIFICATE
APP_LOCK
CALENDAR
EMAIL
HOME_LAYOUT
RESTRICTION
WEBCLIP
WIFI_AUTH
PASSCODE
ADCERTIFICATE
ARD
ASSOCIATEDDOMAINS
EXTENSIBLESINGLESIGNONSSO
SYSTEMEXTENSIONS
FONTS
DIRECTORY
DOCK
ENERGYSAVER
LOGINWINDOW
PARENTALMAC
PRINTER
FINDER
SECURITY
PRIVACY
WALLPAPER
WEB_FILTER
SOFTWAREUPDATE
TIMEMACHINE
PROXIES
CUSTOMSETTINGS
ACCESSIBILITY
MACLOCALUSER
MOBILITY
IDENTIFICATION
CUSTOMCOMMAND
LOCK_WIFI
CONFERENCE
AIRPLAY
AIRPLAYSECURITY
QUICKCOMMAND
EXCHANGE
VPN
SCEP
COMBINED
FIRMWAREPASSWORD
DNSPROXY
EXTENSIONS
AIRPRINT
CHROME_WHITELIST
CHROME_BLACKLIST
CHROME_INSTALL
CHROME_PROXY
CHROME_SETTINGS
TVREMOTE
CONTENTCACHING
AUTONOMOUSSINGLEAPP
SOFTWAREDELAY
YOUTUBE_FILTER
SCREEN_TIME
KERNEL_EXTENSION
SMARTCARD
SYSTEM_MIGRATION
ENTERPRISE_CONNECT
LOGIN_ITEMS
NOMAD
SINGLESIGNON
DOMAINS
LDAP
CONTACTS
NETWORK
TIMESERVER
GOOGLEACCOUNT
DEVICEAUTH
KIOSKMODE
NETWORK_USAGE
CERT_TRANSP
MCX_PROFILE
MOSYLE_LOGIN
APPLE_SHARED_ROSTER
RENAMEDEVICES
CELLULAR
CELLULAR_APN
'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:30:14 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'INSTALL_APP INSTALL_BOOK APP_LIST CERTIFICATE APP_LOCK CALENDAR EMAIL HOME_LAYOUT RESTRICTION WEBCLIP WIFI_AUTH PASSCODE ADCERTIFICATE ARD ASSOCIATEDDOMAINS EXTENSIBLESINGLESIGNONSSO SYSTEMEXTENSIONS FONTS DIRECTORY DOCK ENERGYSAVER LOGINWINDOW PARENTALMAC PRINTER FINDER SECURITY PRIVACY WALLPAPER WEB_FILTER SOFTWAREUPDATE TIMEMACHINE PROXIES CUSTOMSETTINGS ACCESSIBILITY MACLOCALUSER MOBILITY IDENTIFICATION CUSTOMCOMMAND LOCK_WIFI CONFERENCE AIRPLAY AIRPLAYSECURITY QUICKCOMMAND EXCHANGE VPN SCEP COMBINED FIRMWAREPASSWORD DNSPROXY EXTENSIONS AIRPRINT CHROME_WHITELIST CHROME_BLACKLIST CHROME_INSTALL CHROME_PROXY CHROME_SETTINGS TVREMOTE CONTENTCACHING AUTONOMOUSSINGLEAPP SOFTWAREDELAY YOUTUBE_FILTER SCREEN_TIME KERNEL_EXTENSION SMARTCARD SYSTEM_MIGRATION ENTERPRISE_CONNECT LOGIN_ITEMS NOMAD SINGLESIGNON DOMAINS LDAP CONTACTS NETWORK TIMESERVER GOOGLEACCOUNT DEVICEAUTH KIOSKMODE NETWORK_USAGE CERT_TRANSP MCX_PROFILE MOSYLE_LOGIN APPLE_SHARED_ROSTER RENAMEDEVICES CELLULAR CELLULAR_APN Array ( [0] => INSTALL_APP [1] => INSTALL_BOOK [2] => APP_LIST [3] => CERTIFICATE [4] => APP_LOCK [5] => CALENDAR [6] => EMAIL [7] => HOME_LAYOUT [8] => RESTRICTION [9] => WEBCLIP [10] => WIFI_AUTH [11] => PASSCODE [12] => ADCERTIFICATE [13] => ARD [14] => ASSOCIATEDDOMAINS [15] => EXTENSIBLESINGLESIGNONSSO [16] => SYSTEMEXTENSIONS [17] => FONTS [18] => DIRECTORY [19] => DOCK [20] => ENERGYSAVER [21] => LOGINWINDOW [22] => PARENTALMAC [23] => PRINTER [24] => FINDER [25] => SECURITY [26] => PRIVACY [27] => WALLPAPER [28] => WEB_FILTER [29] => SOFTWAREUPDATE [30] => TIMEMACHINE [31] => PROXIES [32] => CUSTOMSETTINGS [33] => ACCESSIBILITY [34] => MACLOCALUSER [35] => MOBILITY [36] => IDENTIFICATION [37] => CUSTOMCOMMAND [38] => LOCK_WIFI [39] => CONFERENCE [40] => AIRPLAY [41] => AIRPLAYSECURITY [42] => QUICKCOMMAND [43] => EXCHANGE [44] => VPN [45] => SCEP [46] => COMBINED [47] => FIRMWAREPASSWORD [48] => DNSPROXY [49] => EXTENSIONS [50] => AIRPRINT [51] => CHROME_WHITELIST [52] => CHROME_BLACKLIST [53] => CHROME_INSTALL [54] => CHROME_PROXY [55] => CHROME_SETTINGS [56] => TVREMOTE [57] => CONTENTCACHING [58] => AUTONOMOUSSINGLEAPP [59] => SOFTWAREDELAY [60] => YOUTUBE_FILTER [61] => SCREEN_TIME [62] => KERNEL_EXTENSION [63] => SMARTCARD [64] => SYSTEM_MIGRATION [65] => ENTERPRISE_CONNECT [66] => LOGIN_ITEMS [67] => NOMAD [68] => SINGLESIGNON [69] => DOMAINS [70] => LDAP [71] => CONTACTS [72] => NETWORK [73] => TIMESERVER [74] => GOOGLEACCOUNT [75] => DEVICEAUTH [76] => KIOSKMODE [77] => NETWORK_USAGE [78] => CERT_TRANSP [79] => MCX_PROFILE [80] => MOSYLE_LOGIN [81] => APPLE_SHARED_ROSTER [82] => RENAMEDEVICES [83] => CELLULAR [84] => CELLULAR_APN ) '

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:31:44 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'INSTALL_APP INSTALL_BOOK APP_LIST CERTIFICATE APP_LOCK CALENDAR EMAIL HOME_LAYOUT RESTRICTION WEBCLIP WIFI_AUTH PASSCODE ADCERTIFICATE ARD ASSOCIATEDDOMAINS EXTENSIBLESINGLESIGNONSSO SYSTEMEXTENSIONS FONTS DIRECTORY DOCK ENERGYSAVER LOGINWINDOW PARENTALMAC PRINTER FINDER SECURITY PRIVACY WALLPAPER WEB_FILTER SOFTWAREUPDATE TIMEMACHINE PROXIES CUSTOMSETTINGS ACCESSIBILITY MACLOCALUSER MOBILITY IDENTIFICATION CUSTOMCOMMAND LOCK_WIFI CONFERENCE AIRPLAY AIRPLAYSECURITY QUICKCOMMAND EXCHANGE VPN SCEP COMBINED FIRMWAREPASSWORD DNSPROXY EXTENSIONS AIRPRINT CHROME_WHITELIST CHROME_BLACKLIST CHROME_INSTALL CHROME_PROXY CHROME_SETTINGS TVREMOTE CONTENTCACHING AUTONOMOUSSINGLEAPP SOFTWAREDELAY YOUTUBE_FILTER SCREEN_TIME KERNEL_EXTENSION SMARTCARD SYSTEM_MIGRATION ENTERPRISE_CONNECT LOGIN_ITEMS NOMAD SINGLESIGNON DOMAINS LDAP CONTACTS NETWORK TIMESERVER GOOGLEACCOUNT DEVICEAUTH KIOSKMODE NETWORK_USAGE CERT_TRANSP MCX_PROFILE MOSYLE_LOGIN APPLE_SHARED_ROSTER RENAMEDEVICES CELLULAR CELLULAR_APN 85'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:41:53 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'[Error - 0] Call to undefined function array_count() - Line 1680 in /Sites/web/mdm/classes/ComplianceReport.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:42:14 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'85'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:42:25 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'85'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:46:13 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'37'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:47:22 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'SELECT p.idprofile as idprofile, p.name, p.is_enabled, "generic_profiles" as profile_table, "CELLULAR_APN" as profile_type, "Cellular APN" as type_name, p.is_districtlevel, p.idaccount, p.dontApplytoShared, p.scope, 0 as classmanager, :deviceudid as deviceudid, NULL as idusermosyle FROM generic_profiles p WHERE p.is_deleted = 0 AND p.os = :os AND p.type = "CELLULAR_APN" AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid) UNION SELECT p.idprofile as idprofile, p.name, p.is_enabled, "generic_profiles" as profile_table, "CELLULAR_APN" as profile_type, "Cellular APN" as type_name, p.is_districtlevel, p.idaccount, p.dontApplytoShared, p.scope, 0 as classmanager, NULL as deviceudid, :idusermosyle as idusermosyle FROM generic_profiles p WHERE p.is_deleted = 0 AND p.os = :os AND p.type = "CELLULAR_APN" AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle) 37'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 10:54:06 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
false

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 11:01:46 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'/Sites/web/mdm/classes/../public/logs/2019-10-23/log_2019-10-23 03:24:48.json'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 12:24:48 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'[2-WARNING] json_decode() expects parameter 1 to be string, array given - Line 180 in /Sites/web/mdm/classes/Log.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 12:29:37 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'Valid'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 12:30:14 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'/Sites/web/mdm/classesArray ( [HTTP_HOST] => localhost [HTTP_ACCEPT] => */* [CONTENT_LENGTH] => 1410 [CONTENT_TYPE] => multipart/form-data; boundary=------------------------1940ffcd378902c3 [PATH] => /usr/bin:/bin:/usr/sbin:/sbin [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache/2.4.41 (Unix) PHP/7.2.22 [SERVER_NAME] => localhost [SERVER_ADDR] => ::1 [SERVER_PORT] => 80 [REMOTE_ADDR] => ::1 [DOCUMENT_ROOT] => /Sites [REQUEST_SCHEME] => http [CONTEXT_PREFIX] => [CONTEXT_DOCUMENT_ROOT] => /Sites [SERVER_ADMIN] => you@example.com [SCRIPT_FILENAME] => /Sites/web/mdm-business/public/services/index.php [REMOTE_PORT] => 62525 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => POST [QUERY_STRING] => [REQUEST_URI] => /web/mdm-business/public/services/ [SCRIPT_NAME] => /web/mdm-business/public/services/index.php [PHP_SELF] => /web/mdm-business/public/services/index.php [REQUEST_TIME_FLOAT] => 1571845709.031 [REQUEST_TIME] => 1571845709 ) '

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 12:48:29 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'/Sites/web/mdm/classesArray ( [HTTP_HOST] => localhost [HTTP_ACCEPT] => */* [CONTENT_LENGTH] => 1410 [CONTENT_TYPE] => multipart/form-data; boundary=------------------------6e0526e41987b062 [PATH] => /usr/bin:/bin:/usr/sbin:/sbin [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache/2.4.41 (Unix) PHP/7.2.22 [SERVER_NAME] => localhost [SERVER_ADDR] => ::1 [SERVER_PORT] => 80 [REMOTE_ADDR] => ::1 [DOCUMENT_ROOT] => /Sites [REQUEST_SCHEME] => http [CONTEXT_PREFIX] => [CONTEXT_DOCUMENT_ROOT] => /Sites [SERVER_ADMIN] => you@example.com [SCRIPT_FILENAME] => /Sites/web/mdm-business/public/services/index.php [REMOTE_PORT] => 64397 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => POST [QUERY_STRING] => [REQUEST_URI] => /web/mdm-business/public/services/ [SCRIPT_NAME] => /web/mdm-business/public/services/index.php [PHP_SELF] => /web/mdm-business/public/services/index.php [REQUEST_TIME_FLOAT] => 1571850526.364 [REQUEST_TIME] => 1571850526 ) '

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 14:08:46 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'[2-WARNING] array_push() expects parameter 1 to be array, null given - Line 192 in /Sites/web/mdm/classes/Log.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 15:28:10 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'[{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:02"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:03"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:03"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:03"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:03"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:03"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:03"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:03"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:03"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:03"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:03"}][{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:09:03"}]{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 05:10:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:36"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:37"}{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:12:37"}'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 15:30:24 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
''

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 15:32:13 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'Sem erro'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 15:34:14 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'Sem erro'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 15:34:30 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15"}'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 15:35:15 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'Sem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15"}[2-WARNING] array_push() expects parameter 1 to be array, object given - Line 205 in /Sites/web/mdm/classes/Log.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 15:35:44 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'Sem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15"}[2-WARNING] array_push() expects parameter 1 to be array, object given - Line 205 in /Sites/web/mdm/classes/Log.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 15:36:47 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'Sem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15"}[2-WARNING] array_push() expects parameter 1 to be array, object given - Line 205 in /Sites/web/mdm/classes/Log.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 15:37:44 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'Sem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15"}[2-WARNING] array_push() expects parameter 1 to be array, object given - Line 205 in /Sites/web/mdm/classes/Log.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 15:39:38 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'Sem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15"}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSELECT p.idprofile as idprofile, p.name, p.is_enabled, "generic_profiles" as profile_table, "CELLULAR_APN" as profile_type, "Cellular APN" as type_name, p.is_districtlevel, p.idaccount, p.dontApplytoShared, p.scope, 0 as classmanager, :deviceudid as deviceudid, NULL as idusermosyle FROM generic_profiles p WHERE p.is_deleted = 0 AND p.os = :os AND p.type = "CELLULAR_APN" AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid) UNION SELECT p.idprofile as idprofile, p.name, p.is_enabled, "generic_profiles" as profile_table, "CELLULAR_APN" as profile_type, "Cellular APN" as type_name, p.is_districtlevel, p.idaccount, p.dontApplytoShared, p.scope, 0 as classmanager, NULL as deviceudid, :idusermosyle as idusermosyle FROM generic_profiles p WHERE p.is_deleted = 0 AND p.os = :os AND p.type = "CELLULAR_APN" AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle) 37[2-WARNING] Cannot modify header information - headers already sent by (output started at /Sites/web/mdm/classes/Log.php:202) - Line 138 in /Sites/web/mdm/classes/Util.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 15:44:55 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'ArgumentCountError -> ArgumentCountError Object ( [message:protected] => Too few arguments to function Log::doLogJson(), 3 passed in /Sites/web/mdm/classes/ComplianceReport.php on line 1759 and exactly 5 expected [string:Error:private] => [code:protected] => 0 [file:protected] => /Sites/web/mdm/classes/Log.php [line:protected] => 160 [trace:Error:private] => Array ( [0] => Array ( [file] => /Sites/web/mdm/classes/ComplianceReport.php [line] => 1759 [function] => doLogJson [class] => Log [type] => :: [args] => Array ( [0] => SELECT p.idprofile as idprofile, p.name, p.is_enabled, "appinstall_profiles" as profile_table, "INSTALL_APP" as profile_type, "Install App" as type_name, p.is_districtlevel, p.idaccount, p.dontApplytoShared, p.scope, 0 as classmanager, :deviceudid as deviceudid, NULL as idusermosyle FROM appinstall_profiles p WHERE p.is_deleted = 0 AND p.os = :os AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid) UNION SELECT p.idprofile as idprofile, p.name, p.is_enabled, "appinstall_profiles" as profile_table, "INSTALL_APP" as profile_type, "Install App" as type_name, p.is_districtlevel, p.idaccount, p.dontApplytoShared, p.scope, 0 as classmanager, NULL as deviceudid, :idusermosyle as idusermosyle FROM appinstall_profiles p WHERE p.is_deleted = 0 AND p.os = :os AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle) [1] => ComplianceReport [2] => mdm ) ) [1] => Array ( [file] => /Sites/web/mdm/classes/ComplianceReport.php [line] => 1549 [function] => getAssignedProfilesNew [class] => ComplianceReport [type] => -> [args] => Array ( [0] => [1] => iOSDevice Object ( [bulk] => Array ( ) [deviceudid] => 74d61503e25858dba69bf56a89eb5d59f7d01b23 [is_deleted] => 0 [confirm_enroll] => 0 [os] => ios [challenge] => 07fb9fa7784b3de328df [short_code] => [date_checkin] => 1571752013 [date_enroll] => 1571752013 [date_checkout] => [topic] => com.apple.mgmt.External.3495cbb9-d269-4031-8d03-07cff6982e53 [url_enroll] => https://officebiz-01.mosyle.com/mdm [url_commands] => https://officebiz-01.mosyle.com/mdm/server/?op=commands&c=07fb9fa7784b3de328df [app_used] => [app_bundle] => [iduser] => [date_enroll_cert] => 1571752013 [enroll_cert] => [created_by] => [log_enabled] => 2 [enroll_source] => safari [iddatabase] => 1 [database] => Database Object ( [iddatabase] => 1 [idserver] => 1 [name] => officebiz_01 [date_created] => 0 [count_groups] => 0 [type] => company [count_devices] => 321 [is_deleted] => 0 [run_schedule] => 1 [dbserver] => dbase1 [timezone] => America/Sao_Paulo ) [database_name] => officebiz_01 [server_ip] => localhost [apps] => Array ( ) [apps_version] => Array ( ) [apps_bundle] => Array ( ) [managed_bundles] => Array ( ) [apps_statusdate] => Array ( ) [apps_outdated] => Array ( ) [push_magic] => 5AC21E9E-880C-4581-B643-FBDE513D58D2 [push_token] => 000af573f88d7cb353402ebf8f64167e1e22e72bb1c6ad386a84bf1a46017bed [agent_token] => [unlock_token] => 44415441000004e45645525300000004000000055459504500000004000000025555494400000010ae859339903c4766a8a3938e068882c3484d434b00000028a6db2668a82a9d85b547b059ee13e2e4f7202dd6e0426db008b6dac06a46aa29f31756bc03dc325557524150000000040000000153414c54000000148692190253b86b91fb873b6ad9ddc92a4ae3966749544552000000040000c3505555494400000010f5172033daad41418d831032bff33aeb434c4153000000040000000b5752415000000004000000014b545950000000040000000057504b5900000020095d2e8a33d1c6eb9efd12dd99c61e22ac7661eea1509d1dbc143421d5b8c0c255554944000000101ba80c2b6d4340eeafd7c8a73e98068f434c4153000000040000000a5752415000000004000000034b545950000000040000000057504b59000000281fafc9fa854533ca7bfa8fc6667ff950c1ee9f81938d75a6cc048d8f7e696c9f677e9d97b9005c2855554944000000103446190523bb40e6b658eb59002f472e434c415300000004000000095752415000000004000000034b545950000000040000000057504b5900000028706bc6d782cbf800096ceea0f3cb2b14999e77d2c3daeb3ff146b173c3d300bb0591ab2ba896ed8d55554944000000103a76dfe904564da0a5cc39443eb600e7434c415300000004000000085752415000000004000000014b545950000000040000000057504b59000000204047ca3ea2485e726b6914f5000781d970cb63c62b939c37cf738d437a5cddfa555549440000001062192cd76edb4f71a19d7a064233f1d5434c415300000004000000075752415000000004000000034b545950000000040000000057504b59000000289544a53f2b98266d5508bf5664dbc50b83e26e4d057e2aac58d45b2a55cb635ad7ab454335f892435555494400000010266ec15ccbf0462994a12764c18a48b3434c415300000004000000065752415000000004000000034b545950000000040000000057504b5900000028d774b9b1bb7355704116272675c818cbb89f0f7921a019123dea075d3ab4de70de7aac2feaf96a825555494400000010cad3253451b94f9fb001eb5475f0fdd4434c415300000004000000055752415000000004000000034b545950000000040000000057504b590000002887ec97d03380791e0691c6f27fa31ee340b5ffdd48189ebb73300d42ee5965f049d3df1fddb665e05555494400000010bad63ee99c404cf1ae79f97cb862ff9b434c415300000004000000035752415000000004000000034b545950000000040000000057504b5900000028854a76d3930fa8d871cce8b92fddb87c423839a471fd41865b280b05e00390799a98d1568b97ded3555549440000001089dac9418c2b4bdd8f5202e35663c958434c415300000004000000025752415000000004000000034b545950000000040000000157504b59000000289180d35080955daf0a1979bffc8c49ddd50503ebf6fa8798160a59955fc4b3857abfb31590105c1550424b5900000020578b6325e2f6e653e88795af24844f9bb74c381b32a70a6959163292a417b87955554944000000107b0e91517673417c8e4b771eec64bc36434c415300000004000000015752415000000004000000034b545950000000040000000057504b5900000028dbd2976995f9208f643cf96222395ffdc9471c7809afb89a48172b78922741365586c82cb4e9f8c55349474e0000001493612f068e62cdeb18e7d1305e4077ba60a957d3 [serial_number] => GG7YM7QSJF8J [device_name] => GG7YM7QSJF8J - 12.4.1 [tags] => [device_model_db] => iPad7,5 [device_model] => iPad (6th generation) [battery] => 0.16 [osversion] => 12.4.1 [latitude] => [longitude] => [location_accuracy] => [date_location] => [date_location_app] => [has_location_permission] => 0 [date_info] => 1571854205 [carrier] => [roaming_enabled] => 0 [isroaming] => 0 [imei] => [meid] => [total_disk] => 26.2000045776 [available_disk] => 24.0211563110 [wifi_mac_address] => 98:46:0A:2F:31:49 [bluetooth_mac_address] => 98:46:0A:2D:E1:8C [is_supervised] => 1 [date_app_info] => 1571824465 [date_last_beat] => 1571854205 [date_last_push] => 1571847073 [date_kinfo] => 1571854205 [date_kbeat] => 1571854205 [date_kpush] => [status] => INSTALLED [isActivationLockEnabled] => 0 [isDeviceLocatorServiceEnabled] => 0 [isDoNotDisturbInEffect] => 0 [isCloudBackupEnabled] => 0 [needosupdate] => 17A878 [productkeyupdate] => iOSUpdate17A878 [school] => Array ( [0] => stdClass Object ( [group_name] => officecompany [database_name] => officebiz_01 [vpp_enroll] => 1 [school_type] => COMPANY [district] => [deviceudid] => 74d61503e25858dba69bf56a89eb5d59f7d01b23 [idgroup] => 1 [idusermosyle] => 1496 [idsharedgroup] => [date_created] => 1571752013 [date_modified] => 1571762430 [enrollment_type] => 1:1 [enrollment_index] => 1 [status_login] => LOGGED [os] => ios [idunit] => [idaccount] => [admin_session] => ) ) [is_illegal] => 0 [time_difference] => 0 [date_media_info] => 1571824449 [device_type] => TABLET [mac_lastbeat] => [mac_lastpush] => [compliance_scan] => [first_enroll] => [admin_session] => [has_passcode] => 0 [sso_url] => [EnrollmentID] => [managedappleid] => [android_usage_access_enabled] => 0 [memory_ram] => [display] => [sdcard] => [has_password] => [has_simcard] => [android_admin_enabled] => [has_storage_permission] => 1 [has_phone_permission] => 1 [has_contacts_permission] => 1 [has_camera_permission] => 1 [has_notification_permission] => 1 [lostmode_status] => DISABLED [ios_maximum_resident_users] => [is_muted] => 0 [date_muted] => [is_shared_apple] => 0 [ios_user_channel] => [activation_bypass] => UDER4-HK6YQ-UEF8-RGYL-LCD6-N7N6 [activation_bypass_mdm] => [isdep] => 0 [iTunesStoreAccountHash] => TVZfETDwu20BNsms8pNyIeHZr8o= [iTunesStoreAccountIsActive] => 1 [date_profiles_info] => 1571824449 [AwaitingConfiguration] => [ios_shared_users] => Array ( ) [ethernet_mac_address] => [model_name] => iPad [LastCloudBackupDate] => [BuildVersion] => 16G102 [last_pin_code] => [IsNetworkTethered] => 0 [asset_tag] => [notes] => [date_update_command] => [date_kprofiles] => 1571752037 [enroll_failed] => [last_ip_beat] => 192.168.0.171 [OSUpdateStatus] => [{"DownloadPercentComplete":0,"IsDownloaded":false,"ProductKey":"iOSUpdate","Status":"Idle"}] [OSUpdateResults] => [AttemptOSUpdate] => [ManagementStatus] => [AutoSetupAdminAccounts] => [mac_agent_info] => Array ( ) [ActiveManagedUsers] => [CurrentConsoleManagedUser] => [date_printers] => [LocalHostName] => [OSUpdateSettings] => [SystemIntegrityProtectionEnabled] => [HostName] => [Languages] => [isWaitingConfiguration] => 0 [last_firmwarepassword] => [SecureBoot] => [RemoteDesktopEnabled] => [BootstrapToken] => [manager_app] => [screenguide_app] => [mlogin_version] => [agent_version] => [last_ssid] => [last_lan_ip] => [date_last_ssid] => [dynamic_groups] => Array ( [0] => stdClass Object ( [name] => End User [idgroup] => 4 [is_hidden] => 1 ) [1] => stdClass Object ( [name] => MDM alert enabled [idgroup] => 9 [is_hidden] => 1 ) [2] => stdClass Object ( [name] => All [idgroup] => 19 [is_hidden] => 1 ) ) [appleTVid] => [isBluetoothOn] => [isBluetoothRestricted] => 0 [isDeviceNameRestricted] => 0 [isCameraRestricted] => 0 [isWallpaperRestricted] => [isWifiPowerRestricted] => 0 [max_delay] => [AvailableOSUpdates] => [{"AllowsInstallLater":false,"Build":"17A878","DownloadSize":1862457407,"HumanReadableName":"iPadOS 13.1.3","InstallSize":467664896,"IsCritical":false,"ProductKey":"iOSUpdate17A878","ProductName":"iOS","RestartRequired":true,"Version":"13.1.3"}] [has_extension] => 0 [apns_unregistered] => [date_first_localuser] => [enroll_phase] => [idtestmode] => [isInLoginWindow] => 0 [ICCID] => [SIMCarrierNetwork] => [CarrierSettingsVersion] => [PhoneNumber] => [SubscriberCarrierNetwork] => [VoiceRoamingEnabled] => [PersonalHotspotEnabled] => [SubscriberMCC] => [SubscriberMNC] => [CurrentMNC] => [CurrentMCC] => [ServiceSubscriptions] => [device_authentication] => {"auth_type":["NO_AUTH"],"idusers":[],"block_without_assignment":0} ) [2] => 1 ) ) [2] => Array ( [file] => /Sites/web/mdm/classes/ComplianceReport.php [line] => 417 [function] => getAssignedProfiles [class] => ComplianceReport [type] => -> [args] => Array ( [0] => [1] => iOSDevice Object ( [bulk] => Array ( ) [deviceudid] => 74d61503e25858dba69bf56a89eb5d59f7d01b23 [is_deleted] => 0 [confirm_enroll] => 0 [os] => ios [challenge] => 07fb9fa7784b3de328df [short_code] => [date_checkin] => 1571752013 [date_enroll] => 1571752013 [date_checkout] => [topic] => com.apple.mgmt.External.3495cbb9-d269-4031-8d03-07cff6982e53 [url_enroll] => https://officebiz-01.mosyle.com/mdm [url_commands] => https://officebiz-01.mosyle.com/mdm/server/?op=commands&c=07fb9fa7784b3de328df [app_used] => [app_bundle] => [iduser] => [date_enroll_cert] => 1571752013 [enroll_cert] => [created_by] => [log_enabled] => 2 [enroll_source] => safari [iddatabase] => 1 [database] => Database Object ( [iddatabase] => 1 [idserver] => 1 [name] => officebiz_01 [date_created] => 0 [count_groups] => 0 [type] => company [count_devices] => 321 [is_deleted] => 0 [run_schedule] => 1 [dbserver] => dbase1 [timezone] => America/Sao_Paulo ) [database_name] => officebiz_01 [server_ip] => localhost [apps] => Array ( ) [apps_version] => Array ( ) [apps_bundle] => Array ( ) [managed_bundles] => Array ( ) [apps_statusdate] => Array ( ) [apps_outdated] => Array ( ) [push_magic] => 5AC21E9E-880C-4581-B643-FBDE513D58D2 [push_token] => 000af573f88d7cb353402ebf8f64167e1e22e72bb1c6ad386a84bf1a46017bed [agent_token] => [unlock_token] => 44415441000004e45645525300000004000000055459504500000004000000025555494400000010ae859339903c4766a8a3938e068882c3484d434b00000028a6db2668a82a9d85b547b059ee13e2e4f7202dd6e0426db008b6dac06a46aa29f31756bc03dc325557524150000000040000000153414c54000000148692190253b86b91fb873b6ad9ddc92a4ae3966749544552000000040000c3505555494400000010f5172033daad41418d831032bff33aeb434c4153000000040000000b5752415000000004000000014b545950000000040000000057504b5900000020095d2e8a33d1c6eb9efd12dd99c61e22ac7661eea1509d1dbc143421d5b8c0c255554944000000101ba80c2b6d4340eeafd7c8a73e98068f434c4153000000040000000a5752415000000004000000034b545950000000040000000057504b59000000281fafc9fa854533ca7bfa8fc6667ff950c1ee9f81938d75a6cc048d8f7e696c9f677e9d97b9005c2855554944000000103446190523bb40e6b658eb59002f472e434c415300000004000000095752415000000004000000034b545950000000040000000057504b5900000028706bc6d782cbf800096ceea0f3cb2b14999e77d2c3daeb3ff146b173c3d300bb0591ab2ba896ed8d55554944000000103a76dfe904564da0a5cc39443eb600e7434c415300000004000000085752415000000004000000014b545950000000040000000057504b59000000204047ca3ea2485e726b6914f5000781d970cb63c62b939c37cf738d437a5cddfa555549440000001062192cd76edb4f71a19d7a064233f1d5434c415300000004000000075752415000000004000000034b545950000000040000000057504b59000000289544a53f2b98266d5508bf5664dbc50b83e26e4d057e2aac58d45b2a55cb635ad7ab454335f892435555494400000010266ec15ccbf0462994a12764c18a48b3434c415300000004000000065752415000000004000000034b545950000000040000000057504b5900000028d774b9b1bb7355704116272675c818cbb89f0f7921a019123dea075d3ab4de70de7aac2feaf96a825555494400000010cad3253451b94f9fb001eb5475f0fdd4434c415300000004000000055752415000000004000000034b545950000000040000000057504b590000002887ec97d03380791e0691c6f27fa31ee340b5ffdd48189ebb73300d42ee5965f049d3df1fddb665e05555494400000010bad63ee99c404cf1ae79f97cb862ff9b434c415300000004000000035752415000000004000000034b545950000000040000000057504b5900000028854a76d3930fa8d871cce8b92fddb87c423839a471fd41865b280b05e00390799a98d1568b97ded3555549440000001089dac9418c2b4bdd8f5202e35663c958434c415300000004000000025752415000000004000000034b545950000000040000000157504b59000000289180d35080955daf0a1979bffc8c49ddd50503ebf6fa8798160a59955fc4b3857abfb31590105c1550424b5900000020578b6325e2f6e653e88795af24844f9bb74c381b32a70a6959163292a417b87955554944000000107b0e91517673417c8e4b771eec64bc36434c415300000004000000015752415000000004000000034b545950000000040000000057504b5900000028dbd2976995f9208f643cf96222395ffdc9471c7809afb89a48172b78922741365586c82cb4e9f8c55349474e0000001493612f068e62cdeb18e7d1305e4077ba60a957d3 [serial_number] => GG7YM7QSJF8J [device_name] => GG7YM7QSJF8J - 12.4.1 [tags] => [device_model_db] => iPad7,5 [device_model] => iPad (6th generation) [battery] => 0.16 [osversion] => 12.4.1 [latitude] => [longitude] => [location_accuracy] => [date_location] => [date_location_app] => [has_location_permission] => 0 [date_info] => 1571854205 [carrier] => [roaming_enabled] => 0 [isroaming] => 0 [imei] => [meid] => [total_disk] => 26.2000045776 [available_disk] => 24.0211563110 [wifi_mac_address] => 98:46:0A:2F:31:49 [bluetooth_mac_address] => 98:46:0A:2D:E1:8C [is_supervised] => 1 [date_app_info] => 1571824465 [date_last_beat] => 1571854205 [date_last_push] => 1571847073 [date_kinfo] => 1571854205 [date_kbeat] => 1571854205 [date_kpush] => [status] => INSTALLED [isActivationLockEnabled] => 0 [isDeviceLocatorServiceEnabled] => 0 [isDoNotDisturbInEffect] => 0 [isCloudBackupEnabled] => 0 [needosupdate] => 17A878 [productkeyupdate] => iOSUpdate17A878 [school] => Array ( [0] => stdClass Object ( [group_name] => officecompany [database_name] => officebiz_01 [vpp_enroll] => 1 [school_type] => COMPANY [district] => [deviceudid] => 74d61503e25858dba69bf56a89eb5d59f7d01b23 [idgroup] => 1 [idusermosyle] => 1496 [idsharedgroup] => [date_created] => 1571752013 [date_modified] => 1571762430 [enrollment_type] => 1:1 [enrollment_index] => 1 [status_login] => LOGGED [os] => ios [idunit] => [idaccount] => [admin_session] => ) ) [is_illegal] => 0 [time_difference] => 0 [date_media_info] => 1571824449 [device_type] => TABLET [mac_lastbeat] => [mac_lastpush] => [compliance_scan] => [first_enroll] => [admin_session] => [has_passcode] => 0 [sso_url] => [EnrollmentID] => [managedappleid] => [android_usage_access_enabled] => 0 [memory_ram] => [display] => [sdcard] => [has_password] => [has_simcard] => [android_admin_enabled] => [has_storage_permission] => 1 [has_phone_permission] => 1 [has_contacts_permission] => 1 [has_camera_permission] => 1 [has_notification_permission] => 1 [lostmode_status] => DISABLED [ios_maximum_resident_users] => [is_muted] => 0 [date_muted] => [is_shared_apple] => 0 [ios_user_channel] => [activation_bypass] => UDER4-HK6YQ-UEF8-RGYL-LCD6-N7N6 [activation_bypass_mdm] => [isdep] => 0 [iTunesStoreAccountHash] => TVZfETDwu20BNsms8pNyIeHZr8o= [iTunesStoreAccountIsActive] => 1 [date_profiles_info] => 1571824449 [AwaitingConfiguration] => [ios_shared_users] => Array ( ) [ethernet_mac_address] => [model_name] => iPad [LastCloudBackupDate] => [BuildVersion] => 16G102 [last_pin_code] => [IsNetworkTethered] => 0 [asset_tag] => [notes] => [date_update_command] => [date_kprofiles] => 1571752037 [enroll_failed] => [last_ip_beat] => 192.168.0.171 [OSUpdateStatus] => [{"DownloadPercentComplete":0,"IsDownloaded":false,"ProductKey":"iOSUpdate","Status":"Idle"}] [OSUpdateResults] => [AttemptOSUpdate] => [ManagementStatus] => [AutoSetupAdminAccounts] => [mac_agent_info] => Array ( ) [ActiveManagedUsers] => [CurrentConsoleManagedUser] => [date_printers] => [LocalHostName] => [OSUpdateSettings] => [SystemIntegrityProtectionEnabled] => [HostName] => [Languages] => [isWaitingConfiguration] => 0 [last_firmwarepassword] => [SecureBoot] => [RemoteDesktopEnabled] => [BootstrapToken] => [manager_app] => [screenguide_app] => [mlogin_version] => [agent_version] => [last_ssid] => [last_lan_ip] => [date_last_ssid] => [dynamic_groups] => Array ( [0] => stdClass Object ( [name] => End User [idgroup] => 4 [is_hidden] => 1 ) [1] => stdClass Object ( [name] => MDM alert enabled [idgroup] => 9 [is_hidden] => 1 ) [2] => stdClass Object ( [name] => All [idgroup] => 19 [is_hidden] => 1 ) ) [appleTVid] => [isBluetoothOn] => [isBluetoothRestricted] => 0 [isDeviceNameRestricted] => 0 [isCameraRestricted] => 0 [isWallpaperRestricted] => [isWifiPowerRestricted] => 0 [max_delay] => [AvailableOSUpdates] => [{"AllowsInstallLater":false,"Build":"17A878","DownloadSize":1862457407,"HumanReadableName":"iPadOS 13.1.3","InstallSize":467664896,"IsCritical":false,"ProductKey":"iOSUpdate17A878","ProductName":"iOS","RestartRequired":true,"Version":"13.1.3"}] [has_extension] => 0 [apns_unregistered] => [date_first_localuser] => [enroll_phase] => [idtestmode] => [isInLoginWindow] => 0 [ICCID] => [SIMCarrierNetwork] => [CarrierSettingsVersion] => [PhoneNumber] => [SubscriberCarrierNetwork] => [VoiceRoamingEnabled] => [PersonalHotspotEnabled] => [SubscriberMCC] => [SubscriberMNC] => [CurrentMNC] => [CurrentMCC] => [ServiceSubscriptions] => [device_authentication] => {"auth_type":["NO_AUTH"],"idusers":[],"block_without_assignment":0} ) ) ) [3] => Array ( [file] => /Sites/web/mdm/classes/ComplianceReport.php [line] => 43 [function] => deviceCompliance [class] => ComplianceReport [type] => -> [args] => Array ( [0] => iOSDevice Object ( [bulk] => Array ( ) [deviceudid] => 74d61503e25858dba69bf56a89eb5d59f7d01b23 [is_deleted] => 0 [confirm_enroll] => 0 [os] => ios [challenge] => 07fb9fa7784b3de328df [short_code] => [date_checkin] => 1571752013 [date_enroll] => 1571752013 [date_checkout] => [topic] => com.apple.mgmt.External.3495cbb9-d269-4031-8d03-07cff6982e53 [url_enroll] => https://officebiz-01.mosyle.com/mdm [url_commands] => https://officebiz-01.mosyle.com/mdm/server/?op=commands&c=07fb9fa7784b3de328df [app_used] => [app_bundle] => [iduser] => [date_enroll_cert] => 1571752013 [enroll_cert] => [created_by] => [log_enabled] => 2 [enroll_source] => safari [iddatabase] => 1 [database] => Database Object ( [iddatabase] => 1 [idserver] => 1 [name] => officebiz_01 [date_created] => 0 [count_groups] => 0 [type] => company [count_devices] => 321 [is_deleted] => 0 [run_schedule] => 1 [dbserver] => dbase1 [timezone] => America/Sao_Paulo ) [database_name] => officebiz_01 [server_ip] => localhost [apps] => Array ( ) [apps_version] => Array ( ) [apps_bundle] => Array ( ) [managed_bundles] => Array ( ) [apps_statusdate] => Array ( ) [apps_outdated] => Array ( ) [push_magic] => 5AC21E9E-880C-4581-B643-FBDE513D58D2 [push_token] => 000af573f88d7cb353402ebf8f64167e1e22e72bb1c6ad386a84bf1a46017bed [agent_token] => [unlock_token] => 44415441000004e45645525300000004000000055459504500000004000000025555494400000010ae859339903c4766a8a3938e068882c3484d434b00000028a6db2668a82a9d85b547b059ee13e2e4f7202dd6e0426db008b6dac06a46aa29f31756bc03dc325557524150000000040000000153414c54000000148692190253b86b91fb873b6ad9ddc92a4ae3966749544552000000040000c3505555494400000010f5172033daad41418d831032bff33aeb434c4153000000040000000b5752415000000004000000014b545950000000040000000057504b5900000020095d2e8a33d1c6eb9efd12dd99c61e22ac7661eea1509d1dbc143421d5b8c0c255554944000000101ba80c2b6d4340eeafd7c8a73e98068f434c4153000000040000000a5752415000000004000000034b545950000000040000000057504b59000000281fafc9fa854533ca7bfa8fc6667ff950c1ee9f81938d75a6cc048d8f7e696c9f677e9d97b9005c2855554944000000103446190523bb40e6b658eb59002f472e434c415300000004000000095752415000000004000000034b545950000000040000000057504b5900000028706bc6d782cbf800096ceea0f3cb2b14999e77d2c3daeb3ff146b173c3d300bb0591ab2ba896ed8d55554944000000103a76dfe904564da0a5cc39443eb600e7434c415300000004000000085752415000000004000000014b545950000000040000000057504b59000000204047ca3ea2485e726b6914f5000781d970cb63c62b939c37cf738d437a5cddfa555549440000001062192cd76edb4f71a19d7a064233f1d5434c415300000004000000075752415000000004000000034b545950000000040000000057504b59000000289544a53f2b98266d5508bf5664dbc50b83e26e4d057e2aac58d45b2a55cb635ad7ab454335f892435555494400000010266ec15ccbf0462994a12764c18a48b3434c415300000004000000065752415000000004000000034b545950000000040000000057504b5900000028d774b9b1bb7355704116272675c818cbb89f0f7921a019123dea075d3ab4de70de7aac2feaf96a825555494400000010cad3253451b94f9fb001eb5475f0fdd4434c415300000004000000055752415000000004000000034b545950000000040000000057504b590000002887ec97d03380791e0691c6f27fa31ee340b5ffdd48189ebb73300d42ee5965f049d3df1fddb665e05555494400000010bad63ee99c404cf1ae79f97cb862ff9b434c415300000004000000035752415000000004000000034b545950000000040000000057504b5900000028854a76d3930fa8d871cce8b92fddb87c423839a471fd41865b280b05e00390799a98d1568b97ded3555549440000001089dac9418c2b4bdd8f5202e35663c958434c415300000004000000025752415000000004000000034b545950000000040000000157504b59000000289180d35080955daf0a1979bffc8c49ddd50503ebf6fa8798160a59955fc4b3857abfb31590105c1550424b5900000020578b6325e2f6e653e88795af24844f9bb74c381b32a70a6959163292a417b87955554944000000107b0e91517673417c8e4b771eec64bc36434c415300000004000000015752415000000004000000034b545950000000040000000057504b5900000028dbd2976995f9208f643cf96222395ffdc9471c7809afb89a48172b78922741365586c82cb4e9f8c55349474e0000001493612f068e62cdeb18e7d1305e4077ba60a957d3 [serial_number] => GG7YM7QSJF8J [device_name] => GG7YM7QSJF8J - 12.4.1 [tags] => [device_model_db] => iPad7,5 [device_model] => iPad (6th generation) [battery] => 0.16 [osversion] => 12.4.1 [latitude] => [longitude] => [location_accuracy] => [date_location] => [date_location_app] => [has_location_permission] => 0 [date_info] => 1571854205 [carrier] => [roaming_enabled] => 0 [isroaming] => 0 [imei] => [meid] => [total_disk] => 26.2000045776 [available_disk] => 24.0211563110 [wifi_mac_address] => 98:46:0A:2F:31:49 [bluetooth_mac_address] => 98:46:0A:2D:E1:8C [is_supervised] => 1 [date_app_info] => 1571824465 [date_last_beat] => 1571854205 [date_last_push] => 1571847073 [date_kinfo] => 1571854205 [date_kbeat] => 1571854205 [date_kpush] => [status] => INSTALLED [isActivationLockEnabled] => 0 [isDeviceLocatorServiceEnabled] => 0 [isDoNotDisturbInEffect] => 0 [isCloudBackupEnabled] => 0 [needosupdate] => 17A878 [productkeyupdate] => iOSUpdate17A878 [school] => Array ( [0] => stdClass Object ( [group_name] => officecompany [database_name] => officebiz_01 [vpp_enroll] => 1 [school_type] => COMPANY [district] => [deviceudid] => 74d61503e25858dba69bf56a89eb5d59f7d01b23 [idgroup] => 1 [idusermosyle] => 1496 [idsharedgroup] => [date_created] => 1571752013 [date_modified] => 1571762430 [enrollment_type] => 1:1 [enrollment_index] => 1 [status_login] => LOGGED [os] => ios [idunit] => [idaccount] => [admin_session] => ) ) [is_illegal] => 0 [time_difference] => 0 [date_media_info] => 1571824449 [device_type] => TABLET [mac_lastbeat] => [mac_lastpush] => [compliance_scan] => [first_enroll] => [admin_session] => [has_passcode] => 0 [sso_url] => [EnrollmentID] => [managedappleid] => [android_usage_access_enabled] => 0 [memory_ram] => [display] => [sdcard] => [has_password] => [has_simcard] => [android_admin_enabled] => [has_storage_permission] => 1 [has_phone_permission] => 1 [has_contacts_permission] => 1 [has_camera_permission] => 1 [has_notification_permission] => 1 [lostmode_status] => DISABLED [ios_maximum_resident_users] => [is_muted] => 0 [date_muted] => [is_shared_apple] => 0 [ios_user_channel] => [activation_bypass] => UDER4-HK6YQ-UEF8-RGYL-LCD6-N7N6 [activation_bypass_mdm] => [isdep] => 0 [iTunesStoreAccountHash] => TVZfETDwu20BNsms8pNyIeHZr8o= [iTunesStoreAccountIsActive] => 1 [date_profiles_info] => 1571824449 [AwaitingConfiguration] => [ios_shared_users] => Array ( ) [ethernet_mac_address] => [model_name] => iPad [LastCloudBackupDate] => [BuildVersion] => 16G102 [last_pin_code] => [IsNetworkTethered] => 0 [asset_tag] => [notes] => [date_update_command] => [date_kprofiles] => 1571752037 [enroll_failed] => [last_ip_beat] => 192.168.0.171 [OSUpdateStatus] => [{"DownloadPercentComplete":0,"IsDownloaded":false,"ProductKey":"iOSUpdate","Status":"Idle"}] [OSUpdateResults] => [AttemptOSUpdate] => [ManagementStatus] => [AutoSetupAdminAccounts] => [mac_agent_info] => Array ( ) [ActiveManagedUsers] => [CurrentConsoleManagedUser] => [date_printers] => [LocalHostName] => [OSUpdateSettings] => [SystemIntegrityProtectionEnabled] => [HostName] => [Languages] => [isWaitingConfiguration] => 0 [last_firmwarepassword] => [SecureBoot] => [RemoteDesktopEnabled] => [BootstrapToken] => [manager_app] => [screenguide_app] => [mlogin_version] => [agent_version] => [last_ssid] => [last_lan_ip] => [date_last_ssid] => [dynamic_groups] => Array ( [0] => stdClass Object ( [name] => End User [idgroup] => 4 [is_hidden] => 1 ) [1] => stdClass Object ( [name] => MDM alert enabled [idgroup] => 9 [is_hidden] => 1 ) [2] => stdClass Object ( [name] => All [idgroup] => 19 [is_hidden] => 1 ) ) [appleTVid] => [isBluetoothOn] => [isBluetoothRestricted] => 0 [isDeviceNameRestricted] => 0 [isCameraRestricted] => 0 [isWallpaperRestricted] => [isWifiPowerRestricted] => 0 [max_delay] => [AvailableOSUpdates] => [{"AllowsInstallLater":false,"Build":"17A878","DownloadSize":1862457407,"HumanReadableName":"iPadOS 13.1.3","InstallSize":467664896,"IsCritical":false,"ProductKey":"iOSUpdate17A878","ProductName":"iOS","RestartRequired":true,"Version":"13.1.3"}] [has_extension] => 0 [apns_unregistered] => [date_first_localuser] => [enroll_phase] => [idtestmode] => [isInLoginWindow] => 0 [ICCID] => [SIMCarrierNetwork] => [CarrierSettingsVersion] => [PhoneNumber] => [SubscriberCarrierNetwork] => [VoiceRoamingEnabled] => [PersonalHotspotEnabled] => [SubscriberMCC] => [SubscriberMNC] => [CurrentMNC] => [CurrentMCC] => [ServiceSubscriptions] => [device_authentication] => {"auth_type":["NO_AUTH"],"idusers":[],"block_without_assignment":0} ) [1] => PROFILES [2] => [3] => 0 ) ) [4] => Array ( [file] => /Sites/web/mdm/classes/Controller.php [line] => 581 [function] => controller [class] => ComplianceReport [type] => -> [args] => Array ( [0] => Array ( [secretkey] => officesecretkey [appkey] => aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ [force_mdm_type_server] => business [MDM_DOMAIN] => officebiz-01 [operation] => get_device_compliance [type] => PROFILES [deviceudid] => 74d61503e25858dba69bf56a89eb5d59f7d01b23 [only_out_compliance] => 0 [iduserrequest] => 1473 [lang] => en [loggedin_user_idusergroups_admin] => ALL [current_os] => ios ) ) ) [5] => Array ( [file] => /Sites/web/mdm/classes/Controller.php [line] => 49 [function] => process [class] => Controller [type] => -> [args] => Array ( ) ) [6] => Array ( [file] => /Sites/web/mdm/public/services/index.php [line] => 72 [function] => __construct [class] => Controller [type] => -> [args] => Array ( [0] => Array ( [secretkey] => officesecretkey [appkey] => aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ [force_mdm_type_server] => business [MDM_DOMAIN] => officebiz-01 [operation] => get_device_compliance [type] => PROFILES [deviceudid] => 74d61503e25858dba69bf56a89eb5d59f7d01b23 [only_out_compliance] => 0 [iduserrequest] => 1473 [lang] => en [loggedin_user_idusergroups_admin] => ALL [current_os] => ios ) ) ) ) [previous:Error:private] => [xdebug_message] => ( ! ) ArgumentCountError: Too few arguments to function Log::doLogJson(), 3 passed in /Sites/web/mdm/classes/ComplianceReport.php on line 1759 and exactly 5 expected in /Sites/web/mdm/classes/Log.php on line 160 Call Stack #TimeMemoryFunctionLocation 10.0040400784{main}( ).../index.php:0 20.0539492176Controller->__construct( ).../index.php:72 30.0544500400Controller->process( ).../Controller.php:49 40.1862539872ComplianceReport->controller( ).../Controller.php:581 50.2941787952ComplianceReport->deviceCompliance( ).../ComplianceReport.php:43 60.3027789712ComplianceReport->getAssignedProfiles( ).../ComplianceReport.php:417 70.3028789712ComplianceReport->getAssignedProfilesNew( ).../ComplianceReport.php:1549 80.3768794704Log::doLogJson( ).../ComplianceReport.php:1759 ) '

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 15:57:01 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'[Error - 0] Using $this when not in object context - Line 166 in /Sites/web/mdm/classes/Log.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 15:57:15 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'[Error - 0] Using $this when not in object context - Line 166 in /Sites/web/mdm/classes/Log.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 15:58:47 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'Sem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"57":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"57":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"58":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"57":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"58":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"59":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"57":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"58":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"59":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"60":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"57":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"58":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"59":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"60":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"61":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"57":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"58":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"59":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"60":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"61":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"62":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"57":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"58":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"59":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"60":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"61":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"62":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"63":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"57":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"58":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"59":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"60":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"61":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"62":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"63":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"64":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"57":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"58":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"59":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"60":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"61":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"62":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"63":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"64":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"65":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"57":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"58":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"59":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"60":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"61":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"62":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"63":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"64":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"65":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"66":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"57":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"58":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"59":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"60":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"61":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"62":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"63":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"64":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"65":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"66":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"67":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"57":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"58":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"59":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"60":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"61":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"62":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"63":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"64":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"65":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"66":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"67":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"68":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"57":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"58":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"59":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"60":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"61":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"62":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"63":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"64":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"65":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"66":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"67":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"68":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"69":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"57":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"58":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"59":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"60":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"61":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"62":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"63":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"64":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"65":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"66":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"67":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"68":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"69":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"70":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"57":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"58":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"59":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"60":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"61":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"62":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"63":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"64":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"65":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"66":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"67":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"68":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"69":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"70":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"71":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:35:15","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:54"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 06:44:55"},"37":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"38":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"39":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"40":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"41":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"42":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"43":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"44":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"45":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"46":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"47":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"48":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"49":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"50":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"51":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"52":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"53":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:20"},"54":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"55":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"56":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"57":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"58":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"59":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"60":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"61":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"62":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"63":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"64":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"65":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"66":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"67":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"68":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"69":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"70":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"71":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"},"72":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:01:21"}}ValidSELECT p.idprofile as idprofile, p.name, p.is_enabled, "generic_profiles" as profile_table, "CELLULAR_APN" as profile_type, "Cellular APN" as type_name, p.is_districtlevel, p.idaccount, p.dontApplytoShared, p.scope, 0 as classmanager, :deviceudid as deviceudid, NULL as idusermosyle FROM generic_profiles p WHERE p.is_deleted = 0 AND p.os = :os AND p.type = "CELLULAR_APN" AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid) UNION SELECT p.idprofile as idprofile, p.name, p.is_enabled, "generic_profiles" as profile_table, "CELLULAR_APN" as profile_type, "Cellular APN" as type_name, p.is_districtlevel, p.idaccount, p.dontApplytoShared, p.scope, 0 as classmanager, NULL as deviceudid, :idusermosyle as idusermosyle FROM generic_profiles p WHERE p.is_deleted = 0 AND p.os = :os AND p.type = "CELLULAR_APN" AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle) 37[2-WARNING] Cannot modify header information - headers already sent by (output started at /Sites/web/mdm/classes/Log.php:192) - Line 138 in /Sites/web/mdm/classes/Util.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 16:01:22 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'Sem erro{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07","0":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"bookinstall_profiles\\" as profile_table, \\n \\"INSTALL_BOOK\\" as profile_type, \\n \\"Install Book\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM bookinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM bookinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"1":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applist_profiles\\" as profile_table, \\n \\"APP_LIST\\" as profile_type, \\n \\"Allowed\\/Blocked Apps\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applist_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applist_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"2":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"certificates_profiles\\" as profile_table, \\n \\"CERTIFICATE\\" as profile_type, \\n \\"Certificate\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM certificates_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM certificate_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"3":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"applock_profiles\\" as profile_table, \\n \\"APP_LOCK\\" as profile_type, \\n \\"App Lock\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM applock_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM applock_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"4":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CALENDAR\\" as profile_type, \\n \\"Calendar\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CALENDAR\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"5":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EMAIL\\" as profile_type, \\n \\"Mail\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EMAIL\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"6":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"homelayout_profiles\\" as profile_table, \\n \\"HOME_LAYOUT\\" as profile_type, \\n \\"Home Layout\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM homelayout_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM homelayout_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"7":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"restrictions_profiles\\" as profile_table, \\n \\"RESTRICTION\\" as profile_type, \\n \\"Restriction\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM restrictions_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM restriction_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"8":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webclip_profiles\\" as profile_table, \\n \\"WEBCLIP\\" as profile_type, \\n \\"Web Clip\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webclip_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webclip_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"9":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"wifi_networks\\" as profile_table, \\n \\"WIFI_AUTH\\" as profile_type, \\n \\"Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM wifi_networks p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM wifi_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"10":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"PASSCODE\\" as profile_type, \\n \\"Passcode Policies\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"PASSCODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"11":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXTENSIBLESINGLESIGNONSSO\\" as profile_type, \\n \\"Extensible Single Sign On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXTENSIBLESINGLESIGNONSSO\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"12":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"FONTS\\" as profile_type, \\n \\"Fonts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"FONTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"13":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"webfilter_profiles\\" as profile_table, \\n \\"WEB_FILTER\\" as profile_type, \\n \\"Web Filter\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 1 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM webfilter_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n AND p.is_hidden = 0\\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM webfilter_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"14":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LOCK_WIFI\\" as profile_type, \\n \\"Lock Wifi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LOCK_WIFI\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"15":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPLAY\\" as profile_type, \\n \\"AirPlay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPLAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"16":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"EXCHANGE\\" as profile_type, \\n \\"Exchange\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"EXCHANGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"17":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"VPN\\" as profile_type, \\n \\"VPN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"VPN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"18":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SCEP\\" as profile_type, \\n \\"SCEP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SCEP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"19":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"COMBINED\\" as profile_type, \\n \\"Multi-Cert WiFi\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"COMBINED\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:07"},"20":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DNSPROXY\\" as profile_type, \\n \\"DNS Proxy\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DNSPROXY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:08"},"21":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AIRPRINT\\" as profile_type, \\n \\"AirPrint\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AIRPRINT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:08"},"22":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"TVREMOTE\\" as profile_type, \\n \\"TV Remote\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"TVREMOTE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:08"},"23":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"AUTONOMOUSSINGLEAPP\\" as profile_type, \\n \\"Autonomous Single App Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"AUTONOMOUSSINGLEAPP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:08"},"24":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SOFTWAREDELAY\\" as profile_type, \\n \\"Software Delay\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SOFTWAREDELAY\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:08"},"25":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"SINGLESIGNON\\" as profile_type, \\n \\"Single Sign-On\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"SINGLESIGNON\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:08"},"26":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DOMAINS\\" as profile_type, \\n \\"Domains\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DOMAINS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:08"},"27":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"LDAP\\" as profile_type, \\n \\"LDAP\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"LDAP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:08"},"28":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CONTACTS\\" as profile_type, \\n \\"Contacts\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CONTACTS\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:08"},"29":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"GOOGLEACCOUNT\\" as profile_type, \\n \\"Google Account\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"GOOGLEACCOUNT\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:08"},"30":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"DEVICEAUTH\\" as profile_type, \\n \\"Device Authentication\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"DEVICEAUTH\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:08"},"31":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"KIOSKMODE\\" as profile_type, \\n \\"Kiosk Mode\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"KIOSKMODE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:08"},"32":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"NETWORK_USAGE\\" as profile_type, \\n \\"Network Usage Rules\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"NETWORK_USAGE\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:08"},"33":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CERT_TRANSP\\" as profile_type, \\n \\"Certificate Transparency\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CERT_TRANSP\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:08"},"34":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"APPLE_SHARED_ROSTER\\" as profile_type, \\n \\"Class Roster on Lock Screen\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"APPLE_SHARED_ROSTER\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:08"},"35":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"generic_profiles\\" as profile_table, \\n \\"CELLULAR_APN\\" as profile_type, \\n \\"Cellular APN\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM generic_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n AND p.type = \\"CELLULAR_APN\\" \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM generic_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:05:08"},"36":{"message":"SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n :deviceudid as deviceudid, \\n NULL as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.deviceudid = :deviceudid)\\n UNION\\n SELECT p.idprofile as idprofile, \\n p.name, \\n p.is_enabled, \\n \\"appinstall_profiles\\" as profile_table, \\n \\"INSTALL_APP\\" as profile_type, \\n \\"Install App\\" as type_name, \\n p.is_districtlevel, \\n p.idaccount, \\n p.dontApplytoShared, \\n p.scope, \\n 0 as classmanager,\\n NULL as deviceudid, \\n :idusermosyle as idusermosyle\\n FROM appinstall_profiles p\\n WHERE \\n p.is_deleted = 0\\n AND p.os = :os \\n \\n \\n \\n AND p.idprofile IN (SELECT rel.idprofile FROM appinstall_device_profile rel WHERE rel.to_remove = 0 AND rel.idusermosyle = :idusermosyle)\\n ","class":"ComplianceReport","project":"mdm","date":"2019-10-23 07:07:56"}}'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 16:07:56 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'[2-WARNING] array_push() expects parameter 1 to be array, null given - Line 202 in /Sites/web/mdm/classes/Log.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 16:36:46 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'[2-WARNING] Use of undefined constant self - assumed \'self\' (this will throw an Error in a future version of PHP) - Line 172 in /Sites/web/mdm/classes/Log.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 16:46:46 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'[8192-UNKNOWN] Non-static method Log::createFile() should not be called statically - Line 172 in /Sites/web/mdm/classes/Log.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 16:47:24 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'[2-WARNING] array_push() expects parameter 1 to be array, null given - Line 198 in /Sites/web/mdm/classes/Log.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 16:47:41 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'/Sites/web/mdm/classes/../public/logs/2019-10-23/log___xxx2019-10-23.json[2-WARNING] array_push() expects parameter 1 to be array, null given - Line 200 in /Sites/web/mdm/classes/Log.php'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 16:48:25 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************
200
'/Sites/web/mdm/classes/../public/logs/2019-10-23/log___xxx2019-10-23.json'

http://localhost/web/mdm-business/public/services/

array ( 'secretkey' => 'officesecretkey', 'appkey' => 'aN63UDr4Ug8F6S6ABMK0ifcM78E266iQ', 'force_mdm_type_server' => 'business', 'MDM_DOMAIN' => 'officebiz-01', 'operation' => 'get_device_compliance', 'type' => 'PROFILES', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'only_out_compliance' => 0, 'iduserrequest' => '1473', 'lang' => 'en', 'loggedin_user_idusergroups_admin' => 'ALL', 'current_os' => 'ios', ) DATE: 23/October/2019 16:49:00 (America/Sao_Paulo) EXTRA_CONTENT: REMOTE_ADDR: ::1 HTTP_HOST: localhost HTTP_REFERER: http://localhost/web/business/public/ HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36 ARGS: GET: POST: array ( 'usertab_current_os' => 'ios', 'usertab_current_idcompany' => 'officecompany', 'deviceudid' => '74d61503e25858dba69bf56a89eb5d59f7d01b23', 'action' => 'PROFILES', ) GLOBALS_DATABASE: SCHOOL: COMPANY: 1) ::include_once -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_all_profiles.php (line 28) 2) MDM::deviceCompliance -> File: /Sites/web/business/public/screens/scules/mdm/deviceinfo/device_profiles.php (line 11) 3) MDMRequest::sendRequest -> File: /Sites/web/business/classes/MDM.php (line 3612) 4) log::dolog -> File: /Sites/web/business/classes/MDMRequest.php (line 251) 5) MosyleUtils\Log::saveLocalFile -> File: /Sites/web/business/classes/log.php (line 22) 6) MosyleUtils\Log::backtrace -> File: /Sites/web/utils/libs/classes/Log.php (line 64)
****************************************